Sha256: 8544368485a18566dc9bd116eed2d06ebad5f98f034b1e6d12d79dd081c13926

Contents?: true

Size: 311 Bytes

Versions: 2

Compression:

Stored size: 311 Bytes

Contents

Before do
  step "I have github instance"
end

When /^(.*) within a cassette named "([^"]*)"$/ do |step_to_call, cassette_name|
  VCR.use_cassette(cassette_name) { step step_to_call }
end

Then /^the response should be "([^"]*)"$/ do |expected_response|
  @response.status.should eql expected_response.to_i
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
github_api-0.4.1 features/step_definitions/common_steps.rb
github_api-0.4.0 features/step_definitions/common_steps.rb