Skip to content
Browse files

Final linkage between rspec and cucumber. Included true and false tes…

…ts to show should and should_not work correctly
  • Loading branch information...
1 parent 94018af commit 875b84ca9677ad3c6fb5e2e51ed8cbbef2d865fa Deryl R. Doucette committed Feb 8, 2012
Showing with 26 additions and 5 deletions.
  1. +15 −0 .gems
  2. +4 −1 features/000_phone_infrastructure.feature
  3. +6 −2 features/step_definitions/steps.rb
  4. +1 −2 features/support/env.rb
15 .gems
@@ -1,20 +1,35 @@
# .gems generated gem export file. Note that any env variable settings will be missing. Append these after using a ';' field separator
+archive-tar-minitar -v0.5.2
+autotest -v4.4.6
bacon -v1.1.0
builder -v3.0.0
+columnize -v0.3.6
cucumber -v1.1.4
diff-lcs -v1.1.3
eventmachine -v0.12.10
+freeswitcher -v0.7.1
freeswitcher -v0.7.0
+freeswitcher -v0.6.18
+gherkin -v2.7.7
+gherkin -v2.7.6
gherkin -v2.7.3
gist -v2.0.4
+json -v1.6.5
json -v1.6.4
+linecache19 -v0.5.12
log4r -v1.1.10
nokogiri -v1.5.0
+rack -v1.4.1
rack -v1.4.0
rack-test -v0.6.1
+rake -v0.9.2.2
rspec -v2.8.0
rspec-core -v2.8.0
rspec-expectations -v2.8.0
rspec-mocks -v2.8.0
+ruby-debug-base19 -v0.11.25
+ruby-debug19 -v0.11.6
+ruby_core_source -v0.1.5
term-ansicolor -v1.0.7
webrat -v0.7.3
+ZenTest -v4.6.2
5 features/000_phone_infrastructure.feature
@@ -7,8 +7,11 @@ Feature: Establish that phone infrastructure is working
Given I have 2 servers named and
+ Scenario: Show that True and False express correctly, and exactly, with should and should_not
+ Then true.should == true
+ And false.should != true
When I make a phone call
Then I should be able to terminate the call
- And I should see false
8 features/step_definitions/steps.rb
@@ -1,5 +1,9 @@
-And /^I should see false$/ do
- true.should == "false"
+And /^true.should == true$/ do
+ true.should == true
+And /^false.should != true$/ do
+ false.should_not == true
When /^I make a phone call$/ do
3 features/support/env.rb
@@ -2,7 +2,6 @@
require "fsr/command_socket"
require "fsr/listener/inbound"
-# Require Bacon for specs
-require 'bacon'
+require 'rspec'

0 comments on commit 875b84c

Please sign in to comment.
Something went wrong with that request. Please try again.