summaryrefslogtreecommitdiff
path: root/spec/requests/atom/dashboard_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/requests/atom/dashboard_spec.rb')
-rw-r--r--spec/requests/atom/dashboard_spec.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/spec/requests/atom/dashboard_spec.rb b/spec/requests/atom/dashboard_spec.rb
index 4db8ce49ff7..00c7a5255ca 100644
--- a/spec/requests/atom/dashboard_spec.rb
+++ b/spec/requests/atom/dashboard_spec.rb
@@ -5,7 +5,7 @@ describe "User Dashboard" do
describe "GET /" do
before do
- @project = Factory :project, :owner => @user
+ @project = Factory :project, owner: @user
@project.add_access(@user, :read)
visit dashboard_path
end
@@ -13,14 +13,14 @@ describe "User Dashboard" do
it "should render projects atom feed via private token" do
logout
- visit dashboard_path(:atom, :private_token => @user.private_token)
+ visit dashboard_path(:atom, private_token: @user.private_token)
page.body.should have_selector("feed title")
end
it "should not render projects page via private token" do
logout
- visit dashboard_path(:private_token => @user.private_token)
+ visit dashboard_path(private_token: @user.private_token)
current_path.should == new_user_session_path
end
end