test/lib/troo/display/card_presenter_test.rb in troo-0.0.4 vs test/lib/troo/display/card_presenter_test.rb in troo-0.0.5
- old
+ new
@@ -23,11 +23,11 @@
it "assigns the options to an instance variable" do
subject.instance_variable_get("@options").must_equal(options)
end
end
- describe "#render_show" do
- subject { capture_io { described_class.render_show(@card, options) }.join }
+ describe "#show" do
+ subject { capture_io { described_class.show(@card, options) }.join }
it "renders the view" do
subject.must_match /My Test Card/
subject.must_match /No comments have been left/
subject.must_match /Metadata/