Commit 86d7b4f152b806b0f53c801a88b7fba016943a94
1 parent
95fde9bd
Exists in
master
and in
4 other branches
removed old spec
Showing
1 changed file
with
0 additions
and
26 deletions
Show diff stats
spec/requests/dashboard_spec.rb
| @@ -1,26 +0,0 @@ | @@ -1,26 +0,0 @@ | ||
| 1 | -require 'spec_helper' | ||
| 2 | -describe "Dashboard" do | ||
| 3 | - before do | ||
| 4 | - @project = Factory :project | ||
| 5 | - @user = User.create(:email => "test917@mail.com", | ||
| 6 | - :name => "John Smith", | ||
| 7 | - :password => "123456", | ||
| 8 | - :password_confirmation => "123456") | ||
| 9 | - @project.add_access(@user, :read, :write) | ||
| 10 | - login_with(@user) | ||
| 11 | - end | ||
| 12 | - | ||
| 13 | - describe "GET /dashboard" do | ||
| 14 | - before do | ||
| 15 | - visit dashboard_path | ||
| 16 | - end | ||
| 17 | - | ||
| 18 | - it "should be on dashboard page" do | ||
| 19 | - current_path.should == dashboard_path | ||
| 20 | - end | ||
| 21 | - | ||
| 22 | - it "should have projects panel" do | ||
| 23 | - page.should have_content(@project.name) | ||
| 24 | - end | ||
| 25 | - end | ||
| 26 | -end |