Skip to content

Commit

Permalink
cast attr vlues from int to str with test
Browse files Browse the repository at this point in the history
  • Loading branch information
miya0001 committed Feb 20, 2015
1 parent f0f4723 commit 3dd46ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/default/wp_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -71,9 +71,9 @@
end

_conf['options'].each do |key, value|
describe command("wp option get " + Shellwords.shellescape(key)) do
describe command("wp option get " + Shellwords.shellescape(key.to_s)) do
let(:disable_sudo) { true }
its(:exit_status) { should eq 0 }
its(:stdout){ should eq value + "\n" }
its(:stdout){ should eq value.to_s + "\n" }
end
end

0 comments on commit 3dd46ea

Please sign in to comment.