summaryrefslogtreecommitdiff
path: root/spec/features
diff options
context:
space:
mode:
authorTyler Mercier <tylermercier@gmail.com>2013-07-23 14:37:20 -0600
committerTyler Mercier <tylermercier@gmail.com>2013-07-23 14:37:20 -0600
commit985ae524144ca8442413567fd987324b534f1f3e (patch)
treeaa49f32679b9e51fb2e445e1701081db35249c05 /spec/features
parent74b40e14c5b6a7e8152032d43519993ad93f1365 (diff)
switch to poltergeist for browser tests.
Diffstat (limited to 'spec/features')
-rw-r--r--spec/features/google_spec.rb31
-rw-r--r--spec/features/landing_page_spec.rb21
2 files changed, 0 insertions, 52 deletions
diff --git a/spec/features/google_spec.rb b/spec/features/google_spec.rb
deleted file mode 100644
index 24b4b7e..0000000
--- a/spec/features/google_spec.rb
+++ /dev/null
@@ -1,31 +0,0 @@
-require "spec_helper"
-
-describe "Google", js: true do
- describe "just visiting" do
- before :each do
- visit 'http://www.google.com/'
- end
-
- it "can visit google" do
- page.should have_content('Google')
- end
-
- it "should not say Microsoft" do
- page.should_not have_content('Microsoft')
- end
- end
-
- describe "searching for something important" do
- before :each do
- visit 'http://www.google.com'
- within('#gs_lc0') do
- fill_in 'gbqfq', with: 'fairgoods'
- end
- find('#gbqfb').click
- end
-
- it "should find something important" do
- expect(page).to have_content('Fairgoods')
- end
- end
-end
diff --git a/spec/features/landing_page_spec.rb b/spec/features/landing_page_spec.rb
deleted file mode 100644
index 0321186..0000000
--- a/spec/features/landing_page_spec.rb
+++ /dev/null
@@ -1,21 +0,0 @@
-require "spec_helper"
-
-describe "landing page" do
- it "should display the default home page" do
- visit '/'
- expect(page).to have_content "Parley"
- end
-
- it "should let you sign up to the mailing list" do
- visit('/')
- first(:css, '#sign_up_email').set "admin@madebyuppercut.com"
- first(:css, 'input[type="submit"]').click
- expect(page).to have_content("Thanks for signing up with Parley. We’ll keep you informed with any important updates and, of course, the official launch date.")
- end
-
- it "should not let you sign up without an email address" do
- visit('/')
- first(:css, 'input[type="submit"]').click
- expect(page).to have_content("Just the HR performance management features you want.")
- end
-end