spec/task_builders/build_spec.rb in physique-0.3.4 vs spec/task_builders/build_spec.rb in physique-0.3.5
- old
+ new
@@ -1,13 +1,13 @@
require 'support/shared_contexts/rake'
describe 'basic' do
include_context 'rake'
- BUILD_TASKS = %w(versionizer compile compile:clean compile:build compile:rebuild)
+ let(:build_tasks) { %w(versionizer compile compile:clean compile:build compile:rebuild) }
it 'should create the build tasks' do
- BUILD_TASKS.each do |name|
+ build_tasks.each do |name|
task_names.should include(name)
end
end
describe 'the compile task' do