spec/cuukie_spec.rb in cuukie-0.2.2 vs spec/cuukie_spec.rb in cuukie-0.3.0
- old
+ new
@@ -1,11 +1,11 @@
require 'spec_helper'
describe 'Cuukie' do
describe "before Cucumber has run" do
before(:all) { start_server }
- after(:all) { stop_server_on_port 4569 }
+ after(:all) { stop_server_at 4569 }
it "shows a grey status bar" do
html.should match /undefinedColors\('cucumber-header'\)/
end
@@ -24,11 +24,11 @@
end
shared_examples_for "while Cucumber is running" do
require 'ostruct'
- after(:all) { stop_server_on_port 4569 }
+ after(:all) { stop_server_at 4569 }
it "shows a grey status bar" do
html.should match /undefinedColors\('cucumber-header'\)/
end
@@ -94,10 +94,10 @@
before(:all) do
start_server
run_cucumber
end
- after(:all) { stop_server_on_port 4569 }
+ after(:all) { stop_server_at 4569 }
it "cleans up previous data at the beginning of a run" do
run_cucumber
html.scan('Feature: Visualize Scenarios').size.should == 1
end