aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/patch_spec.rb
diff options
context:
space:
mode:
authorMike McQuaid2018-01-22 09:44:32 +0000
committerGitHub2018-01-22 09:44:32 +0000
commitace2d569dcd3a45d0fc49a6742540b6f7a957fbc (patch)
tree3f0d03e347de345b64e1549d1812835c752ba992 /Library/Homebrew/test/patch_spec.rb
parent97f0ef4c49d0f2f2a62a82e7ca21945d7cbe2c7c (diff)
parent69db925e8a8030840d832c0b05cf29c3adc875dd (diff)
downloadbrew-ace2d569dcd3a45d0fc49a6742540b6f7a957fbc.tar.bz2
Merge pull request #3714 from ilovezfs/resource-patches1.5.1
resource: allow patches to be applied
Diffstat (limited to 'Library/Homebrew/test/patch_spec.rb')
-rw-r--r--Library/Homebrew/test/patch_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/patch_spec.rb b/Library/Homebrew/test/patch_spec.rb
index 22c103662..56f8f7ea8 100644
--- a/Library/Homebrew/test/patch_spec.rb
+++ b/Library/Homebrew/test/patch_spec.rb
@@ -48,7 +48,7 @@ describe Patch do
subject { described_class.create(:p2, nil) }
context "empty patch" do
- its(:resource) { is_expected.to be_kind_of Resource::Patch }
+ its(:resource) { is_expected.to be_kind_of Resource::PatchResource }
its(:patch_files) { is_expected.to eq(subject.resource.patch_files) }
its(:patch_files) { is_expected.to eq([]) }
end