Sha256: c6e8df8569606f2411bf62f0157afdcd9587c1d311bd55a9aa61c27a246d216c

Contents?: true

Size: 226 Bytes

Versions: 8

Compression:

Stored size: 226 Bytes

Contents

Then(/^a db table named "(.*?)" should exist$/) do |table|
  require 'sequel'
  db_path = "sqlite://#{current_dir}/db/development.sqlite3"
  
  Sequel.connect(db_path) { |db|
    db.table_exists?(table)
  }.should == true
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
katapult-0.5.0 features/step_definitions/db_steps.rb
katapult-0.4.1 features/step_definitions/db_steps.rb
katapult-0.4.0 features/step_definitions/db_steps.rb
katapult-0.3.0 features/step_definitions/db_steps.rb
katapult-0.2.0 features/step_definitions/db_steps.rb
katapult-0.1.2 features/step_definitions/db_steps.rb
katapult-0.1.1 features/step_definitions/db_steps.rb
katapult-0.1.0 features/step_definitions/db_steps.rb