Sha256: b33804476d847f320fcdd5e226c00c40c7b8ad4e02a068ea489404276d616b6b

Contents?: true

Size: 585 Bytes

Versions: 11

Compression:

Stored size: 585 Bytes

Contents

Given /^a model "([^\"]*)"$/ do |model_name|
  generate_model(model_name)  
end

Given /^I generate views for controller "([^\"]*)"$/ do |controller_path|
  generate_views(controller_path)
end

When /^I generate views for controller "([^\"]*)" and model "([^\"]*)"$/ do |controller_path, model_name|
  generate_views(controller_path, model_name)
end

When /^I generate text views for "([^\"]*)"/ do |controller_path|
  generate_views(controller_path, :themed_type => :text)
end

Then /^I should have a view named "([^\"]*)"$/ do |view_path|
  view_exists?(view_path).should be_true
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
web-app-theme-0.7.0 features/step_definitions/themed_steps.rb
web-app-theme-0.6.3 features/step_definitions/themed_steps.rb
web-app-theme-0.6.2 features/step_definitions/themed_steps.rb
web-app-theme-0.6.1 features/step_definitions/themed_steps.rb
web-app-theme-0.6.0 features/step_definitions/themed_steps.rb
web-app-theme-0.5.3 features/step_definitions/themed_steps.rb
web-app-theme-0.5.2 features/step_definitions/themed_steps.rb
web-app-theme-0.5.1 features/step_definitions/themed_steps.rb
web-app-theme-0.5.0 features/step_definitions/themed_steps.rb
web-app-theme-0.4.0 features/step_definitions/themed_steps.rb
web-app-theme-0.3.0 features/step_definitions/themed_steps.rb