Skip to content

Commit

Permalink
Change album factory to be unpublished
Browse files Browse the repository at this point in the history
I think this is more natural and less surprising since it's the initial
state for an album.
  • Loading branch information
floehopper committed Jan 16, 2024
1 parent 79941f8 commit d3f9a2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/factories/album.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
credits do
'Rick Astley - vocals.'
end
publication_status { :published }
publication_status { :unpublished }

after(:build) do |album|
album.cover.attach(
Expand Down

0 comments on commit d3f9a2e

Please sign in to comment.