-
-
Save eprothro/0406fc3f1ab683881f76 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
include UsersSpecHelper | |
include VehiclesSpecHelper | |
describe "Showroom", js: true do | |
context "without being logged in" do | |
describe "adding a vehicle from a search result vehicle card" do | |
# before :all do | |
# ensure_vehicle(vin: '3GYFK66N16G100956', company: 'WH1') | |
# visit search_path(q: "buick") | |
# # click_link "Add to Showroom" | |
# end | |
it "drops open the showroom" do | |
puts Capybara.current_driver | |
screenshot_and_save_page | |
find("#showroom").should be_visible | |
end | |
# it "shows the registration form" do | |
# find("#showroom-list-wrap .showroom-register-modal").should be_visible | |
# page.should have_content "Just enter your email here:" | |
# page.should have_content "Sign me up" | |
# end | |
end | |
end | |
context "with a logged in user" do | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment