View gist:1317569
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/richard/.rvm/rubies/ruby-1.9.2-p136/bin/ruby -e $stdout.sync=true;$stderr.sync=true;load($0=ARGV.shift) /Users/richard/.rvm/gems/ruby-1.9.2-p136@cucumber/bin/rspec /Users/richard/Documents/Projects/hw/code/cucumber/spec/cucumber/ast/table_spec.rb --require teamcity/spec/runner/formatter/teamcity/formatter --format Spec::Runner::Formatter::TeamcityFormatter --example Table diff! should allow header mapping before diffing | |
Testing started at 1:44 PM ... | |
/Users/richard/Documents/Projects/hw/code/cucumber/cucumber.gemspec:55:in ``': No such file or directory - git ls-files (Errno::ENOENT) | |
from /Users/richard/Documents/Projects/hw/code/cucumber/cucumber.gemspec:55:in `block in <main>' | |
from /Users/richard/.rvm/rubies/ruby-1.9.2-p136/lib/ruby/site_ruby/1.9.1/rubygems/specification.rb:1346:in `initialize' | |
from /Users/richard/Documents/Projects/hw/code/cucumber/cucumber.gemspec:5:in `new' | |
from /Users/richard/Documents/Projects/hw/code/cucumber/cucumber.gemspec:5:in `<main>' | |
from /Users/richard/.rvm/gems/rub |
View gist:1299371
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# change 'table' to a more specific selector when the page will have more than one table | |
find('table').all('tr').map { |row| row.all('th, td').map { |cell| cell.text.strip } } |
View tiered_commissions.feature
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Tiered Sales Commissions | |
As a salesperson sells more, his commission percentage should get higher. Commissions are tiered. | |
Scenario: Flat commission | |
Given I earn a flat 10% commission | |
When I sell $10,000 of services | |
Then I should earn $1,000 in commissions | |
Scenario: Two tier commission (in second tier) | |
Given I earn 10% commission up to $5,000 of sales |
View cucumber error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Scenario: Link points to the right place # features/Imprints.feature:15 | |
When I click on IBM Press # Unknown | |
Timed out calling server with message invoke (RuntimeError) | |
features/Imprints.feature:16:in `When I click on IBM Press' | |
undefined method `handle_success' for #<Cucumber::WireSupport::RequestHandler:0x3394638> (NoMethodError) | |
c:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.5.1/bin/../lib/cucumber/wire_support/wire_packet.rb:26:in `send' | |
c:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.5.1/bin/../lib/cucumber/wire_support/wire_packet.rb:26:in `handle_with' | |
c:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.5.1/bin/../lib/cucumber/wire_support/connection.rb:20:in `call_remote' | |
c:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.5.1/bin/../lib/cucumber/wire_support/request_handler.rb:11:in `execute' | |
c:/Ruby/lib/ruby/gems/1.8/gems/cucumber-0.5.1/bin/../lib/cucumber/wire_support/wire_protocol.rb:104:in `make_request' |