test/lib/seedbank/dsl_test.rb in seedbank-0.5.0.pre vs test/lib/seedbank/dsl_test.rb in seedbank-0.5.0
- old
+ new
@@ -8,19 +8,19 @@
describe 'scope_from_seed_file' do
subject { scope_from_seed_file(seed_file) }
describe 'in an environment directory' do
let(:seed_file) { File.expand_path('development/users.seeds.rb', Seedbank.seeds_root) }
- let(:seed_namespace) { %w(development) }
+ let(:seed_namespace) { %w[development] }
it 'returns the enviroment scope' do
subject.must_equal seed_namespace
end
end
describe 'in a nested directory' do
let(:seed_file) { File.expand_path('development/shared/accounts.seeds.rb', Seedbank.seeds_root) }
- let(:seed_namespace) { %w(development shared) }
+ let(:seed_namespace) { %w[development shared] }
it 'returns the nested scope' do
subject.must_equal seed_namespace
end
end