Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

it_should_behave_like - Could not find shared examples "a command method" #11

Open
hggh opened this issue Mar 4, 2014 · 0 comments
Open

Comments

@hggh
Copy link

hggh commented Mar 4, 2014

while building your gem for Debian, rake tests fails with missing shared examples

/usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:168:in `find_and_eval_shared': Could not find shared examples "a command method" (ArgumentError)
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:120:in `block in it_should_behave_like'
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in `module_eval'
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in `subclass'
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:232:in `describe'
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:119:in `it_should_behave_like'
    from /tmp/ruby-axiom-types-0.1.0/spec/unit/axiom/types/class_methods/finalize_spec.rb:11:in `block in <top (required)>'
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in `module_eval'
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:246:in `subclass'
    from /usr/lib/ruby/vendor_ruby/rspec/core/example_group.rb:232:in `describe'
    from /usr/lib/ruby/vendor_ruby/rspec/core/dsl.rb:18:in `describe'
    from /tmp/ruby-axiom-types-0.1.0/spec/unit/axiom/types/class_methods/finalize_spec.rb:5:in `<top (required)>'
    from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load'
    from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `block in load_spec_files'
    from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `each'
    from /usr/lib/ruby/vendor_ruby/rspec/core/configuration.rb:896:in `load_spec_files'
    from /usr/lib/ruby/vendor_ruby/rspec/core/command_line.rb:22:in `run'
    from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:80:in `run'
    from /usr/lib/ruby/vendor_ruby/rspec/core/runner.rb:17:in `block in autorun'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant