spec/scripts_examples.rb in ruby-nmap-0.7.0 vs spec/scripts_examples.rb in ruby-nmap-0.8.0
- old
+ new
@@ -2,9 +2,9 @@
shared_examples_for "#scripts" do
describe "#scripts" do
subject { super().scripts }
- it { should be_kind_of(Hash) }
- it { should_not be_empty }
+ it { is_expected.to be_kind_of(Hash) }
+ it { is_expected.not_to be_empty }
end
end