aboutsummaryrefslogtreecommitdiffstats
path: root/spec/views/vehicle_journeys
diff options
context:
space:
mode:
authorMarc Florisson2012-06-25 21:35:06 +0200
committerMarc Florisson2012-06-25 21:35:06 +0200
commit889d812612603b758c2e8aa0cd251826d36e364c (patch)
tree8afd22b2f403319c1c55bc051de1f3990695efd0 /spec/views/vehicle_journeys
parente5ebc2c3e9fb14742562e2e7e278f13f7b2e01c7 (diff)
downloadchouette-core-889d812612603b758c2e8aa0cd251826d36e364c.tar.bz2
Refs #68, Refs #69, Refs 70, Refs 71
Diffstat (limited to 'spec/views/vehicle_journeys')
-rw-r--r--spec/views/vehicle_journeys/_vehicle_journey_at_stop_fields.html.erb_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/views/vehicle_journeys/_vehicle_journey_at_stop_fields.html.erb_spec.rb b/spec/views/vehicle_journeys/_vehicle_journey_at_stop_fields.html.erb_spec.rb
index 70b0fc4ef..f99d27119 100644
--- a/spec/views/vehicle_journeys/_vehicle_journey_at_stop_fields.html.erb_spec.rb
+++ b/spec/views/vehicle_journeys/_vehicle_journey_at_stop_fields.html.erb_spec.rb
@@ -49,9 +49,9 @@ describe "/vehicle_journeys/_vehicle_journey_at_stop_fields" do
rendered.should have_selector("tr.no_stop")
end
end
- context "for a destroyed vehicle_journey_at_stop" do
+ context "for a not destroyed vehicle_journey_at_stop" do
before(:each) do
- vehicle_journey_at_stop.stub!(:_destroy => true)
+ vehicle_journey_at_stop.stub!(:_destroy => false)
end
it "should not render tr.no_stop" do
render_collection