File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -711,15 +711,15 @@ def create_deploy(reference)
711
711
712
712
it "renders current, succeeded deploys" do
713
713
html = deployed_or_running_list ( stage_list , "v1" )
714
- html . must_equal "<span class=\" label label-success release-stage\" >Staging</span> "
714
+ html . must_equal "<span class=\" label label-success release-stage\" >Staging</span>"
715
715
end
716
716
717
717
it "renders past, succeeded deploys" do
718
718
# This deploy will be newer.
719
719
create_deploy "v2"
720
720
721
721
html = deployed_or_running_list ( stage_list , "v1" )
722
- html . must_equal "<span class=\" label label-default release-stage\" >Staging</span> "
722
+ html . must_equal "<span class=\" label label-default release-stage\" >Staging</span>"
723
723
end
724
724
725
725
it "ignores failed deploys" do
@@ -736,7 +736,7 @@ def create_deploy(reference)
736
736
it "shows active deploys" do
737
737
deploy . job . update_column ( :status , 'running' )
738
738
html = deployed_or_running_list ( stage_list , "v1" )
739
- html . must_equal "<span class=\" label label-warning release-stage\" >Staging</span> "
739
+ html . must_equal "<span class=\" label label-warning release-stage\" >Staging</span>"
740
740
end
741
741
742
742
it "uses 3 queries when the deploy is the most recent one on the stage" do
You can’t perform that action at this time.
0 commit comments