Sha256: 592f8e0dd3944a99c9ce9af408402bfe1b797282e61ecb609f545d6959ab2535
Contents?: true
Size: 637 Bytes
Versions: 28
Compression:
Stored size: 637 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/../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
28 entries across 28 versions & 1 rubygems