Skip to content

Commit

Permalink
rubocop: fix RSpec/ImplicitExpect
Browse files Browse the repository at this point in the history
  • Loading branch information
alexjfisher committed Nov 2, 2016
1 parent 9c21700 commit aff0a2c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions spec/acceptance/class_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,24 @@ class { 'mysql_java_connector': }
end

describe file('/opt/MySQL-connector') do
it { should be_directory }
it { is_expected.to be_directory }
end

describe file('/opt/MySQL-connector/latest') do
it { should be_symlink }
it { is_expected.to be_symlink }
end

describe file('/opt/MySQL-connector/latest/mysql-connector-java-5.1.40-bin.jar') do
it { should be_file }
its(:md5sum) { should eq '2ad5cfbcb388bee5a64c879c208c7652' }
it { is_expected.to be_file }
its(:md5sum) { is_expected.to eq '2ad5cfbcb388bee5a64c879c208c7652' }
end

describe file('/opt/tomcat_app/mysql-connector-java.jar') do
it { should be_symlink }
it { is_expected.to be_symlink }
end

describe file('/opt/jboss_app/mysql-connector-java.jar') do
it { should be_symlink }
it { is_expected.to be_symlink }
end
end
end

0 comments on commit aff0a2c

Please sign in to comment.