Giter Site home page Giter Site logo

Specs don't pass about semantic-ui-sass HOT 5 CLOSED

doabit avatar doabit commented on July 16, 2024
Specs don't pass

from semantic-ui-sass.

Comments (5)

doabit avatar doabit commented on July 16, 2024

On my computer, run rspec Finished in 0.0592 seconds 12 examples, 0 failures

from semantic-ui-sass.

jaredmoody avatar jaredmoody commented on July 16, 2024

On ruby 2.1.2, all 12 specs are still failing for me, here's an example:

1) SemanticBreadcrumbsHelper semantic_breadcrumbs should return breadcrumbs
 Failure/Error: controller.instance_variable_set("@breadcrumbs", [{name: 'Home', url:'/'}])
 NameError:
   undefined local variable or method `controller' for #<RSpec::ExampleGroups::SemanticBreadcrumbsHelper::SemanticBreadcrumbs:0x007fd749fd46e8>
 # ./spec/helpers/semantic_breadcrumbs_helper_spec.rb:7:in `block (3 levels) in <top (required)>'

Full gist here: https://gist.github.com/jaredmoody/9d581c80f02f449924d9

It seems like there must be something that's causing it to succeed for you and fail for me. I'm going to fork and setup Travis CI and see what I can find.

from semantic-ui-sass.

jaredmoody avatar jaredmoody commented on July 16, 2024

I setup Travis CI and it failed with the same errors I am seeing:

https://travis-ci.org/jaredmoody/semantic-ui-sass/builds/37723943

It seems like there's something specific to your machine that is making the tests pass.

from semantic-ui-sass.

doabit avatar doabit commented on July 16, 2024

I see, i will take a look.

from semantic-ui-sass.

jaredmoody avatar jaredmoody commented on July 16, 2024

I found it: rspec 3 requires a new configuration option to work the same as previous versions:

config.infer_spec_type_from_file_location!

I'll send a PR.

from semantic-ui-sass.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.