added some tests

This commit is contained in:
Hauke Klement
2015-02-15 12:21:42 +01:00
parent 2fab3907c0
commit 5f6dbdd858
3 changed files with 18 additions and 0 deletions

View File

@ -32,4 +32,10 @@ describe Submission do
end
end
end
describe '#to_s' do
it "equals the class' model name" do
expect(@submission.to_s).to eq(Submission.model_name.human)
end
end
end