refactors debate_links using an attr_accessor

refactors debate_links using an attr_accessor
This commit is contained in:
kikito
2016-02-08 15:25:51 +01:00
parent 2ee90ac76e
commit 2a55c2d94d
3 changed files with 13 additions and 18 deletions

View File

@@ -31,6 +31,7 @@ describe Debate do
end
describe "#external_link" do
before { debate.link_required = true }
it "should not be valid without a url" do
debate.external_link = ""