Permalink
Browse files

Fix fixtures documentation link on YAML template.

`ActiveRecord::Fixtures` was deprecated and the documentation now lives
in a different URL.
  • Loading branch information...
1 parent f233a07 commit 003e7858efcb153012fc6ecb6ca64695349da20f @lucasmazza lucasmazza committed Dec 19, 2013
@@ -1,4 +1,4 @@
-# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html
+# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
<% unless attributes.empty? -%>
one:
@@ -33,7 +33,7 @@
describe 'the fixtures' do
subject { file('spec/fixtures/posts.yml') }
- it { is_expected.to contain(Regexp.new('# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html')) }
+ it { is_expected.to contain(Regexp.new('# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html')) }
end
end

0 comments on commit 003e785

Please sign in to comment.