diff --git a/spec/models/flagging_spec.rb b/spec/models/flagging_spec.rb new file mode 100644 index 0000000..4d137af --- /dev/null +++ b/spec/models/flagging_spec.rb @@ -0,0 +1,10 @@ +require 'spec_helper' + +describe Flagging do + describe "attributes should be white listed" do + it { should allow_mass_assignment_of(:flaggable) } + it { should allow_mass_assignment_of(:flagger) } + it { should allow_mass_assignment_of(:flag) } + end +end +