Skip to content

Shared Examples #10

Open
Open
@garrettheaver

Description

@garrettheaver

Whilst it seems to load the shared examples fine on the first pass, subsequent runs it completely loses track of for some reason and throws a big exception stack ala :

stty: stdin isn't a terminal
stty: stdin isn't a terminal
stty: stdin isn't a terminal
stty: stdin isn't a terminal
stty: stdin isn't a terminal
...
ERROR: Guard::JRubyRSpec failed to achieve its <run_on_changes>, exception was:
ArgumentError: Could not find shared examples "a store"
/Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/example_group.rb:123:in find_and_eval_shared' /Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/example_group.rb:93:init_behaves_like'
org/jruby/RubyModule.java:2277:in module_eval' /Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/example_group.rb:201:insubclass'
/Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/example_group.rb:186:in describe' /Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/example_group.rb:92:init_behaves_like'
...
org/jruby/RubyModule.java:2277:in module_eval' /Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/example_group.rb:201:insubclass'
/Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/example_group.rb:186:in describe' /Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/dsl.rb:18:indescribe'
...
org/jruby/RubyKernel.java:1068:in load' ... org/jruby/RubyArray.java:2339:incollect'
/Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/configuration.rb:746:in load_spec_files' /Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/command_line.rb:22:inrun'
/Users/garrett/.rvm/gems/jruby-1.6.7/gems/rspec-core-2.10.1/lib/rspec/core/runner.rb:69:in run' /Users/garrett/.rvm/gems/jruby-1.6.7/bundler/gems/guard-jruby-rspec-0077eb119b88/lib/guard/jruby-rspec/runner.rb:46:inrun'
/Users/garrett/.rvm/gems/jruby-1.6.7/gems/guard-rspec-1.0.1/lib/guard/rspec.rb:49:in run_on_changes' org/jruby/RubyBasicObject.java:1704:insend'
org/jruby/RubyKernel.java:2101:in `send'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions