Skip to content

Commit

Permalink
Remove ruby blocks from test files
Browse files Browse the repository at this point in the history
  • Loading branch information
jenssegers committed Feb 27, 2016
1 parent c8c1522 commit 7b0d3ba
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 32 deletions.
8 changes: 0 additions & 8 deletions spec/append_spec.rb
Expand Up @@ -13,20 +13,12 @@
it 'expect append_line matcher to run' do
expect(chef_run).to run_append_line('/test1')
end

it 'expect ruby block to run' do
expect(chef_run).to run_ruby_block('/test1')
end
end

context 'test2' do
it 'expect append_line matcher to run' do
expect(chef_run).to run_append_line('test2')
end

it 'expect ruby block to run' do
expect(chef_run).to run_ruby_block('test2')
end
end

context 'test3' do
Expand Down
8 changes: 0 additions & 8 deletions spec/insert_line_after_spec.rb
Expand Up @@ -13,20 +13,12 @@
it 'expect insert_line_after matcher to run' do
expect(chef_run).to run_insert_line_after('/test1')
end

it 'expect ruby block to run' do
expect(chef_run).to run_ruby_block('/test1')
end
end

context 'test2' do
it 'expect insert_line_after matcher to run' do
expect(chef_run).to run_insert_line_after('test2')
end
## TODO: test fails
# it 'expect ruby block to run' do
# expect(chef_run).to run_ruby_block('test2')
# end
end

context 'test3' do
Expand Down
8 changes: 0 additions & 8 deletions spec/replace_line_spec.rb
Expand Up @@ -13,20 +13,12 @@
it 'expect replace_line matcher to run' do
expect(chef_run).to run_replace_line('/test1')
end

it 'expect ruby block to run' do
expect(chef_run).to run_ruby_block('/test1')
end
end

context 'test2' do
it 'expect replace_line matcher to run' do
expect(chef_run).to run_replace_line('test2')
end

it 'expect ruby block to run' do
expect(chef_run).to run_ruby_block('test2')
end
end

context 'test3' do
Expand Down
8 changes: 0 additions & 8 deletions spec/replace_spec.rb
Expand Up @@ -13,20 +13,12 @@
it 'expect replace matcher to run' do
expect(chef_run).to run_replace('/test1')
end

it 'expect ruby block to run' do
expect(chef_run).to run_ruby_block('/test1')
end
end

context 'test2' do
it 'expect replace matcher to run' do
expect(chef_run).to run_replace('test2')
end

it 'expect ruby block to run' do
expect(chef_run).to run_ruby_block('test2')
end
end

context 'test3' do
Expand Down

0 comments on commit 7b0d3ba

Please sign in to comment.