move capybara scenarios to spec/features
This commit is contained in:
parent
9f722427e5
commit
03f6a28ec0
18 changed files with 3 additions and 1 deletions
14
spec/features/atom/dashboard_spec.rb
Normal file
14
spec/features/atom/dashboard_spec.rb
Normal file
|
@ -0,0 +1,14 @@
|
|||
require 'spec_helper'
|
||||
|
||||
describe "Dashboard Feed" do
|
||||
describe "GET /" do
|
||||
let!(:user) { create(:user) }
|
||||
|
||||
context "projects atom feed via private token" do
|
||||
it "should render projects atom feed" do
|
||||
visit dashboard_path(:atom, private_token: user.private_token)
|
||||
page.body.should have_selector("feed title")
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
Loading…
Add table
Add a link
Reference in a new issue