We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 21e634a commit d926584Copy full SHA for d926584
spec/rspec/rails/matchers/be_a_new_spec.rb
@@ -129,7 +129,7 @@ def new_record?; true; end
129
expect {
130
expect(record).to be_a_new(record.class).with(:foo => 'bar')
131
}.to raise_error(
132
- %Q(attribute {"foo"=>"bar"} was not set on #{record.inspect})
+ %(attribute {"foo"=>"bar"} was not set on #{record.inspect})
133
)
134
end
135
@@ -178,7 +178,7 @@ def new_record?; false; end
178
expect(record).to be_a_new(String).with(:foo => 'bar')
179
180
"expected #{record.inspect} to be a new String and " +
181
182
183
184
0 commit comments