Skip to content

Commit

Permalink
Avoid hardcoding paths to assets since it changes
Browse files Browse the repository at this point in the history
  • Loading branch information
jrafanie committed Jun 12, 2019
1 parent 0d0fbcc commit b0772ab
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions spec/requests/entrypoint_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,7 @@
)
)

# This test will fail if you have the assets precompiled
expect(response.parsed_body['product_info']['branding_info']).to eq(
"brand" => "/images/layout/brand.svg",
"logo" => "/images/layout/login-screen-logo.png",
"favicon" => "/images/favicon.ico"
)
expect(response.parsed_body['product_info']['branding_info'].keys).to match_array(%w{brand favicon logo})
end

context 'UI is available' do
Expand Down

0 comments on commit b0772ab

Please sign in to comment.