Skip to content

Instantly share code, notes, and snippets.

@kakutani
Forked from ursm/node_spec.rb
Created March 3, 2010 05:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kakutani/320367 to your computer and use it in GitHub Desktop.
Save kakutani/320367 to your computer and use it in GitHub Desktop.
describe 'to_branch' do
it do
to_branch(
:a => [:b, :c],
:b => [:d],
:c => [:d]
).should == [
[:a, :b, :d]
[:a, :c, :d]
]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment