We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Observation: The following succeeds.
describe Foo do it { should have_and_belong_to :bars, :after_add => :tweet_about_bar } end
class Foo < ActiveRecord::Base has_and_belongs_to_many :bars end
Expectation: It should check for the presence of the after_add callback in the association declaration.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Observation: The following succeeds.
describe Foo do
it { should have_and_belong_to :bars, :after_add => :tweet_about_bar }
end
class Foo < ActiveRecord::Base
has_and_belongs_to_many :bars
end
Expectation: It should check for the presence of the after_add callback in the association declaration.
The text was updated successfully, but these errors were encountered: