Sha256: 4fb0d8d5dbf07a6c570cac0c2c665905b87996885b458b947c383104c9987539

Contents?: true

Size: 418 Bytes

Versions: 11

Compression:

Stored size: 418 Bytes

Contents

Given /^I (?:re)?start service without \-\-database option$/ do
  AppConfig[:database] = ':memory:' #default value
  load 'rest-assured/init.rb'
end

Then /^I should get (#{CAPTURE_A_NUMBER}) in response status$/ do |status|
  last_response.status.should == status
end

Given /^I (?:re)?start service with \-\-database "([^"]*)" option$/ do |db_path|
  AppConfig[:database] = db_path
  load 'rest-assured/init.rb'
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rest-assured-0.2.0.rc7 features/step_definitions/persistence_steps.rb
rest-assured-0.2.0.rc5 features/step_definitions/persistence_steps.rb
rest-assured-0.2.0.rc4 features/step_definitions/persistence_steps.rb
rest-assured-0.2.0.rc3 features/step_definitions/persistence_steps.rb
rest-assured-0.2.0.rc2 features/step_definitions/persistence_steps.rb
rest-assured-0.2.0.rc1 features/step_definitions/persistence_steps.rb
rest-assured-0.1.4 features/step_definitions/persistence_steps.rb
rest-assured-0.1.3 features/step_definitions/persistence_steps.rb
rest-assured-0.1.2 features/step_definitions/persistence_steps.rb
rest-assured-0.1.1 features/step_definitions/persistence_steps.rb
rest-assured-0.1.0 features/step_definitions/persistence_steps.rb