Skip to content

Commit

Permalink
Fixed README
Browse files Browse the repository at this point in the history
In Ruby there shouldn't be a space before a parenthesis
  • Loading branch information
gregkare committed Oct 3, 2012
1 parent 9c0f5ed commit 1cd5765
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ package would be installed.
1 require "chefspec"
2
3 describe "example::default" do
4 let (:chef_run) { ChefSpec::ChefRunner.new.converge 'example::default' }
4 let(:chef_run) { ChefSpec::ChefRunner.new.converge 'example::default' }
5 it "should install foo" do
6 chef_run.should install_package 'foo'
7 end
Expand Down Expand Up @@ -87,7 +87,7 @@ If you look at the generated example you'll see that on line 6 there is a
1 require 'chefspec'
2
3 describe 'my_new_cookbook::default' do
4 let (:chef_run) { ChefSpec::ChefRunner.new.converge 'my_new_cookbook::default' }
4 let(:chef_run) { ChefSpec::ChefRunner.new.converge 'my_new_cookbook::default' }
5 it 'should do something' do
6 pending 'Your recipe examples go here.'
7 end
Expand Down Expand Up @@ -422,7 +422,7 @@ argument to the `ChefRunner` constructor like so:
1 require 'chefspec'
2
3 describe 'foo::default' do
4 let (:chef_run) {
4 let(:chef_run) {
5 runner = ChefSpec::ChefRunner.new({:cookbook_path => '/some/path'})
6 runner.converge 'foo::default'
7 runner
Expand Down

0 comments on commit 1cd5765

Please sign in to comment.