spec/lib/snapdragon/spec_directory_spec.rb in snapdragon-1.0.0 vs spec/lib/snapdragon/spec_directory_spec.rb in snapdragon-2.0.0

- old
+ new

@@ -1,11 +1,12 @@ +require 'spec_helper' require_relative '../../../lib/snapdragon/spec_directory' describe Snapdragon::SpecDirectory do describe "#initialize" do it "assigns the given directory path" do spec_dir = Snapdragon::SpecDirectory.new('some/directory/path') - spec_dir.instance_variable_get(:@path).should eq('some/directory/path') + expect(spec_dir.instance_variable_get(:@path)).to eq('some/directory/path') end end describe "#spec_files" do it "needs to be tested"