* Move all features to system * Remove database_cleaner & apply use_transactional_fixtures * Move rspec-retry to :test * Update Capybara config * Update rails_helper * Fix user_visits_a_comments_page_spec.rb * Fix lint
9 lines
304 B
Ruby
9 lines
304 B
Ruby
RSpec.shared_examples "no sign_in invitation" do
|
|
it "no sign_in invitation", js: true do
|
|
within("#substories") do
|
|
expect(page).not_to have_content("Sign in to customize your feed")
|
|
expect(page).not_to have_link("TWITTER")
|
|
expect(page).not_to have_link("GITHUB")
|
|
end
|
|
end
|
|
end
|