spec/lib/snapdragon/suite_spec.rb in snapdragon-2.0.0 vs spec/lib/snapdragon/suite_spec.rb in snapdragon-3.0.0
- old
+ new
@@ -91,11 +91,11 @@
end
end
context "when paths are empty" do
it "reads the pattern from the options" do
- pattern = double
+ pattern = double.to_s
options = double(pattern: pattern)
suite = Snapdragon::Suite.new(options, [])
expect(suite).to receive(:pattern).and_return(pattern)
suite.spec_files
end
@@ -111,12 +111,10 @@
end
end
end
describe "#require_paths" do
- it "returns the merged set of the require paths of each spec file" do
- pending
- end
+ it "returns the merged set of the require paths of each spec file"
end
describe "#require_files" do
it "needs to be tested"
end