Sha256: 02342dd1b50050b3bad32cf425d5bf826d375e50a0068bc8afd3eca4136fc2b8
Contents?: true
Size: 490 Bytes
Versions: 9
Compression:
Stored size: 490 Bytes
Contents
Given(/^there is a simple Auton implementation$/) do class EmptyAuton include StructureMapper::Hash attribute foo: String end @auton_type="EmptyAuton" end When(/^I create that simple Auton$/) do visit '/' click_on 'Create Auton' fill_in 'auton_type', with: @auton_type click_on 'create' end Then(/^the list of Autons should contain the auton id$/) do get '/autons.json' expect(last_response).to be_ok expect(JSON.parse(last_response.body)).not_to be_empty end
Version data entries
9 entries across 9 versions & 1 rubygems