Sha256: baab19de01a996396e9bcb4cbe85be6bfba5c6255e73caf93a30ba2affc908dd

Contents?: true

Size: 377 Bytes

Versions: 25

Compression:

Stored size: 377 Bytes

Contents

Given /^I have sites named (.+)$/ do |names|
  names.split(', ').each do |name|
    p = Site.make(:name => "#{name}")
  end
end

Given /^I have no sites$/ do
  Site.delete_all
end

Then /^I should have ([0-9]+) site$/ do |count|
  Site.count.should == count.to_i
end

When /^I visit "(.+)"$/ do |site|
  site = Site.where(:name => site).first
  visit admin_site_url(site)
end

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
site_logic-1.9.13 features/step_definitions/site_steps.rb
site_logic-1.9.12 features/step_definitions/site_steps.rb
site_logic-1.9.11 features/step_definitions/site_steps.rb
site_logic-1.9.10 features/step_definitions/site_steps.rb
site_logic-1.9.9 features/step_definitions/site_steps.rb
site_logic-1.9.8 features/step_definitions/site_steps.rb
site_logic-1.9.7 features/step_definitions/site_steps.rb
site_logic-1.9.6 features/step_definitions/site_steps.rb
ppc_logic-0.8.2 features/step_definitions/site_steps.rb
ppc_logic-0.8.1 features/step_definitions/site_steps.rb
site_logic-1.9.5 features/step_definitions/site_steps.rb
site_logic-1.9.4 features/step_definitions/site_steps.rb
site_logic-1.9.3 features/step_definitions/site_steps.rb
ppc_logic-0.8.0 features/step_definitions/site_steps.rb
site_logic-1.9.2 features/step_definitions/site_steps.rb
site_logic-1.9.1 features/step_definitions/site_steps.rb
site_logic-1.9.0 features/step_definitions/site_steps.rb
site_logic-1.8.0 features/step_definitions/site_steps.rb
site_logic-1.7.1 features/step_definitions/site_steps.rb
site_logic-1.7.0 features/step_definitions/site_steps.rb