Skip to content

Commit

Permalink
Make expectations more explicit, update log.
Browse files Browse the repository at this point in the history
  • Loading branch information
seancribbs committed Oct 10, 2008
1 parent 5d95724 commit c92cf42
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG
@@ -1,6 +1,7 @@
== Change Log

=== Edge
* Make Git extension install method recognize submodules. [Sean Cribbs]
* Fix malformed Textile in standard tag descriptions. [Jason Garber]
* Update script/extension help output. [Jim Gay]
* Allow load_subclasses to work when multiple apps are on the same database.
Expand Down
5 changes: 3 additions & 2 deletions spec/lib/radiant/extension/script_spec.rb
Expand Up @@ -317,8 +317,9 @@
end

it "should initialize and update submodules" do
@git.should_receive(:system).with("cd #{Dir.tmpdir}; #{@git.checkout_command}").ordered
@git.should_receive(:system).with(/git submodule init && git submodule update/).ordered
Dir.stub!(:tmpdir).and_return('/tmp')
@git.should_receive(:system).with("cd /tmp; git clone http://localhost/ example").ordered
@git.should_receive(:system).with("cd /tmp/example; git submodule init && git submodule update").ordered
@git.checkout
end
end
Expand Down

0 comments on commit c92cf42

Please sign in to comment.