Sha256: b2ea929132c66d5085643341fd5939c10766adb292b25590aba250eee9a5011c
Contents?: true
Size: 590 Bytes
Versions: 231
Compression:
Stored size: 590 Bytes
Contents
require 'spec_helper' describe "Navigation" do include Capybara it "should be a valid app" do ::Rails.application.should be_a(Dummy::Application) end context "logged in" do before(:all) do @user = Factory(:user) visit root_path fill_in 'user_email', :with => @user.email fill_in 'user_password', :with => 'testing' click_button 'Sign in' end context "with other user" do before do Factory(:user) end it "should close tab" do visit home_path click_link "X" end end end end
Version data entries
231 entries across 231 versions & 4 rubygems