summaryrefslogtreecommitdiffstats
path: root/tests/acceptance/features/step_definitions/basic_steps.rb
diff options
context:
space:
mode:
Diffstat (limited to 'tests/acceptance/features/step_definitions/basic_steps.rb')
-rw-r--r--tests/acceptance/features/step_definitions/basic_steps.rb25
1 files changed, 0 insertions, 25 deletions
diff --git a/tests/acceptance/features/step_definitions/basic_steps.rb b/tests/acceptance/features/step_definitions/basic_steps.rb
deleted file mode 100644
index f62fdf9c7..000000000
--- a/tests/acceptance/features/step_definitions/basic_steps.rb
+++ /dev/null
@@ -1,25 +0,0 @@
-Given (/^I am logged in$/) do
-
- # be sure to use the right browser session
- Capybara.session_name = 'test'
-
- # logout - just to be sure
- visit '/index.php?logout=true'
- visit '/'
- fill_in 'user', with: 'test'
- fill_in 'password', with: "test"
- click_button 'submit'
-
- # if visibility is not set to false it will fail
- page.should have_selector('a#logout', :visible => false)
-end
-
-Given (/^I am in the "([^"]+)" app$/) do |app|
- visit "/index.php/apps/#{app}/"
- page.should have_selector('a#logout', :visible => false)
-end
-
-When (/^I go to "([^"]+)"$/) do |path|
- visit "#{path}"
- page.should have_selector('a#logout', :visible => false)
-end \ No newline at end of file