spec/models/chouette/footnote_spec.rb in ninoxe-1.1.5 vs spec/models/chouette/footnote_spec.rb in ninoxe-1.2.0
- old
+ new
@@ -1,9 +1,9 @@
require 'spec_helper'
describe Chouette::Footnote do
- subject { Factory.build(:footnote) }
+ subject { build(:footnote) }
it { should validate_presence_of :line }
end