This file contains hidden or 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
When player wins he should be paid 1-1 | |
When player loses, he is not paid | |
When player has blackjack, he is paid 1.5-1 | |
Scenario: Winning hand with a $50 bet | |
Given the player has a score of 19 | |
And the dealer has a score of 18 | |
And the player bet $50 | |
When the hand is played | |
Then the player wins $50 |
This file contains hidden or 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
if Rails.env.development? | |
module CoffeeScript | |
class SourceMapError < StandardError; end; | |
class << self | |
def compile script, options | |
script = script.read if script.respond_to?(:read) | |
if options.key?(:no_wrap) and !options.key?(:bare) |