mod/carrierwave/spec/set/type/file/bucket_config_spec.rb
The first argument to describe should be the class or module being tested. Open
Open
describe "#bucket config" do
- Create a ticketCreate a ticket
- Exclude checks
Name your test subject if you need to reference it explicitly. Open
Open
expect { subject }.to raise_error(Card::Error)
- Create a ticketCreate a ticket
- Exclude checks
Use let
instead of an instance variable. Open
Open
Cardio.config.file_buckets = @old_bucket_config
- Create a ticketCreate a ticket
- Exclude checks