Repository: buildr Updated Branches: refs/heads/master da9a10a41 -> 70a07f833
Fix the specs relying on Rakefile Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/70a07f83 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/70a07f83 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/70a07f83 Branch: refs/heads/master Commit: 70a07f833187f702743a6cb8f4e7566b930f5539 Parents: da9a10a Author: Antoine Toulme <[email protected]> Authored: Sun Aug 21 14:01:10 2016 -0700 Committer: Antoine Toulme <[email protected]> Committed: Sun Aug 21 14:01:10 2016 -0700 ---------------------------------------------------------------------- spec/core/application_spec.rb | 4 ++++ 1 file changed, 4 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/70a07f83/spec/core/application_spec.rb ---------------------------------------------------------------------- diff --git a/spec/core/application_spec.rb b/spec/core/application_spec.rb index 1a4d9ca..05842ec 100644 --- a/spec/core/application_spec.rb +++ b/spec/core/application_spec.rb @@ -30,6 +30,10 @@ describe Buildr::Application do end describe '#run' do + before(:each) do + FileUtils.touch 'Buildfile' + end + it 'should execute *_load methods in order' do order = [:load_gems, :load_artifact_ns, :load_tasks, :raw_load_buildfile] order.each { |method| Buildr.application.should_receive(method).ordered }
