-
Notifications
You must be signed in to change notification settings - Fork 903
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
(3.0.0.beta1) the be_versioned
rspec matcher doesn't work under zeus
#272
Comments
I've never used Zeus before, don't know a ton about it, but this could be related to the fact that Zeus is not typically used as part of a project's bundle? Trying putting this line on your
Although ideally this would load by itself, I'll have to take a closer look at Zeus and see if I can figure out what needs to be done differently for Zeus. |
Have you tried using any other RSpec extensions with Zeus, like shoulda-matchers for instance? |
I was using shoulda-matchers, and was having the same problem. |
Sounds like it might be an issue with Zeus then? Also, did you try putting that line in your |
@keithpitt - Just figured out a solution that works. I just pushed 39decb3, which should make the manual note: you'll need to clone down the # spec/spec_helper.rb
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
load 'paper_trail/frameworks/rspec' # forces a reload even if the file was previously loaded before |
Thanks so much @batter! I'll check it out when I get to work :) |
Note that the manual |
But when I try with zeus:
I've copied the matcher into
spec/support/paper_trail.rb
for now, but it's only a hack.The text was updated successfully, but these errors were encountered: