aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMarkus Reiter2017-02-28 16:33:48 +0100
committerMarkus Reiter2017-02-28 17:26:44 +0100
commit40ec2974f4d164689d05fe27b52da4ebf3f4b816 (patch)
treebbd7cd3d99c5c950ad50356155a0161acbe17501 /Library
parentfa34aa2a21473a4e4d360e9561f8ca89f2415ded (diff)
downloadbrew-40ec2974f4d164689d05fe27b52da4ebf3f4b816.tar.bz2
Move Formatter and Locale specs.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/test/formatter_spec.rb (renamed from Library/Homebrew/cask/spec/formatter_spec.rb)0
-rw-r--r--Library/Homebrew/test/locale_spec.rb (renamed from Library/Homebrew/cask/spec/locale_spec.rb)4
2 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cask/spec/formatter_spec.rb b/Library/Homebrew/test/formatter_spec.rb
index e8bd34416..e8bd34416 100644
--- a/Library/Homebrew/cask/spec/formatter_spec.rb
+++ b/Library/Homebrew/test/formatter_spec.rb
diff --git a/Library/Homebrew/cask/spec/locale_spec.rb b/Library/Homebrew/test/locale_spec.rb
index 41ca87ede..9e4d09e83 100644
--- a/Library/Homebrew/cask/spec/locale_spec.rb
+++ b/Library/Homebrew/test/locale_spec.rb
@@ -36,9 +36,9 @@ describe Locale do
end
end
- subject { described_class.new("zh", "CN", "Hans") }
-
describe "#include?" do
+ subject { described_class.new("zh", "CN", "Hans") }
+
it { is_expected.to include("zh") }
it { is_expected.to include("zh-CN") }
it { is_expected.to include("CN") }