OSDN Git Service

removed old spec
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sat, 14 Apr 2012 08:36:53 +0000 (11:36 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Sat, 14 Apr 2012 08:36:53 +0000 (11:36 +0300)
spec/requests/dashboard_spec.rb [deleted file]

diff --git a/spec/requests/dashboard_spec.rb b/spec/requests/dashboard_spec.rb
deleted file mode 100644 (file)
index cfdbb8d..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-require 'spec_helper'
-describe "Dashboard" do
-  before do 
-    @project = Factory :project
-    @user = User.create(:email => "test917@mail.com",
-                        :name => "John Smith",
-                        :password => "123456",
-                        :password_confirmation => "123456")
-    @project.add_access(@user, :read, :write)
-    login_with(@user)
-  end
-
-  describe "GET /dashboard" do
-    before do
-      visit dashboard_path
-    end
-
-    it "should be on dashboard page" do
-      current_path.should == dashboard_path
-    end
-
-    it "should have projects panel" do
-      page.should have_content(@project.name)
-    end
-  end
-end