Skip to content

Commit

Permalink
last one
Browse files Browse the repository at this point in the history
  • Loading branch information
moozzi committed May 24, 2024
1 parent e9c580f commit c52f428
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/routes/db_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -528,7 +528,7 @@

context 'GET /db/street_addresses/:id' do
let!(:street_address) { Ronin::DB::StreetAddress.find_or_create_by(address: 'Address', city: 'City', state: 'State', zipcode: '00-000', country: 'Country') }
let(:header_xpath) { "//h1[text()='Street address: #{street_address.inspect}']" }
let(:header_xpath) { "//h1[text()='Street Address: #{street_address}']" }

it 'must return status 200 and include records data' do
visit "/db/street_addresses/#{street_address.id}"
Expand Down

0 comments on commit c52f428

Please sign in to comment.