Skip to content

Commit

Permalink
fix specs. #443
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Fenner committed Mar 3, 2020
1 parent 2079443 commit eaec6cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions spec/models/provider_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -80,9 +80,9 @@
expect(subject.save).to be true
expect(subject.errors.details).to be_empty
expect(subject.logo.file?).to be true
expect(subject.logo.url).to start_with("/images/members/000")
expect(subject.logo.url(:medium)).to start_with("/images/members/000")
expect(subject.logo_url).to start_with("/images/members/000")
expect(subject.logo.url).to start_with("/images/members/" + subject.symbol.downcase+ ".png")
expect(subject.logo.url(:medium)).to start_with("/images/members/" + subject.symbol.downcase+ ".png")
expect(subject.logo_url).to start_with("/images/members/" + subject.symbol.downcase + ".png")
expect(subject.logo_file_name).to eq(subject.symbol.downcase + ".png")
expect(subject.logo.content_type).to eq("image/png")
expect(subject.logo.size).to be > 10
Expand Down

0 comments on commit eaec6cc

Please sign in to comment.