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

Upgrade to RSpec 3 #10

Open
tioteath opened this issue Aug 5, 2014 · 1 comment
Open

Upgrade to RSpec 3 #10

tioteath opened this issue Aug 5, 2014 · 1 comment

Comments

@tioteath
Copy link
Contributor

tioteath commented Aug 5, 2014

Trying to perform spec execution:

bundle exec rspec
/tmp/src/puppet-crypt/vendor/bundle/ruby/2.1.0/gems/rspec-mocks-3.0.3/lib/rspec/mocks.rb:38:in `setup': wrong number of arguments (1 for 0) (ArgumentError)
    from /tmp/src/puppet-crypt/spec/spec_helper.rb:15:in `<top (required)>'

This is probably because of some incompatibility between latest stable rspec and rspec the specs was developed with.

Could you please specify exact versions for development dependencies in gemspec to eliminate this issue?

@maxlinc
Copy link
Owner

maxlinc commented Aug 7, 2014

I was able to upgrade (via transpec) and run rspec without any problems. However, I see several issues open for rspec-puppet saying it has issues with rspec 3. So I'll leave it tied to rspec 2 for now.

Once rspec-puppet is stable on rspec 3, an upgrade should be possible.

@maxlinc maxlinc changed the title Spec run fail for latest rspec Upgrade to RSpec 3 Aug 7, 2014
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

2 participants