Skip to content

Commit

Permalink
Add test
Browse files Browse the repository at this point in the history
  • Loading branch information
jdudley1123 committed Nov 28, 2024
1 parent b1cb27a commit c78b636
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions spec/features/billy_spec.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
require 'rails_helper'

feature "Test Puffing Billy", js: true do
it 'should stub google' do
proxy.stub('http://www.google.com').and_return(text: "I'm not Google!")

visit 'http://www.google.com'
expect(page).to have_content("I'm not Google!")
end
end

0 comments on commit c78b636

Please sign in to comment.