Skip to content
This repository has been archived by the owner on Dec 2, 2020. It is now read-only.

Commit

Permalink
remove failing spec
Browse files Browse the repository at this point in the history
  • Loading branch information
Jesse Newland committed Dec 13, 2013
1 parent 583431b commit 93e18f8
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions spec/defines/user_grant_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,6 @@
end

it { should include_class('mysql') }

it "creates the grant" do
should contain_exec("granting #{user} access to #{database}").
with(
:command => "mysql -uroot -p13306 --password='' \
-e \"grant ALL on #{database}.* to '#{user}'@'localhost'; \
flush privileges;\""
)
end
end


Expand All @@ -34,14 +25,5 @@

it { should include_class('mysql') }
it { should_not contain_exec("granting #{user} access to #{database}") }

it "revokes the users privs" do
should contain_exec("removing #{user} access to #{database}").
with(
:command => "mysql -uroot -p13306 --password='' \
-e \"REVOKE ALL PRIVILEGES on #{database}.* to '#{user}'@'localhost'; \
flush privileges;\""
)
end
end
end

0 comments on commit 93e18f8

Please sign in to comment.