ginatra 2.3.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,36 +0,0 @@
1
- Given /^I am on '([^\']*)'$/ do |path|
2
- get path
3
- end
4
-
5
- When /^I open '([^\']*)'$/ do |path|
6
- get path
7
- end
8
-
9
- When /^I press "([^\"]*)"$/ do |button|
10
- click_button(button)
11
- end
12
-
13
- When /^I follow "([^\"]*)"$/ do |link|
14
- click_link(link)
15
- end
16
-
17
- When /^I fill in "([^\"]*)" with "([^\"]*)"$/ do |field, value|
18
- fill_in(field, :with => value)
19
- end
20
-
21
- Then /^I should see "([^\"]*)"$/ do |text|
22
- last_response.should contain(text)
23
- end
24
-
25
- Then /^I should not see "([^\"]*)"$/ do |text|
26
- last_response.should_not contain(text)
27
- end
28
-
29
- Then /^I should be on (.+)$/ do |page_name|
30
- URI.parse(current_url).path.should == path_to(page_name)
31
- end
32
-
33
- Then /^Save and View$/ do
34
- save_and_open_page
35
- end
36
-
@@ -1,12 +0,0 @@
1
- $:.unshift File.expand_path("#{File.dirname(__FILE__)}/../../spec")
2
- require "spec_helper"
3
-
4
- World do
5
- def app
6
- Ginatra::App
7
- end
8
- include Rack::Test::Methods
9
- include Webrat::Methods
10
- include Webrat::Matchers
11
- end
12
-