Sha256: d780d9c73def5a692ca73bcca78cfca04ec40517a41b61304441212cba7759b0
Contents?: true
Size: 386 Bytes
Versions: 1
Compression:
Stored size: 386 Bytes
Contents
Given(/^[Tt]he [Pp]layer ["'](.+)["'] is authenticated$/) do |player_name| player = MyApp::Player.find_by_name(player_name) @handler_helper.authenticate(player.user_id) end Given(/^[Tt]he following [Pp]layer[s]*[:]*$/) do |table| player_hashes = table.hashes player_hashes.each do |player_hash| player_hash[:user] = User.new MyApp::Player.create(player_hash) end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rubypitaya-2.11.0 | ./lib/rubypitaya/app-template/features/step_definitions/application_steps.rb |