@@ -169,7 +169,7 @@ def execute
169169 it "includes the organization" do
170170 manifest = command_connector . foobara_manifest
171171
172- expect ( manifest [ :organization ] . keys ) . to match_array ( %i[ SomeOrg global_organization ] )
172+ expect ( manifest [ :organization ] . keys ) . to contain_exactly ( : SomeOrg, : global_organization)
173173 expect ( manifest [ :command ] [ :"SomeOrg::SomeDomain::SomeCommand" ] [ :description ] ) . to eq ( "just some command" )
174174 end
175175
@@ -183,7 +183,7 @@ def execute
183183 detached : false
184184 )
185185
186- expect ( manifest [ :organization ] . keys ) . to match_array ( %i[ SomeOrg global_organization ] )
186+ expect ( manifest [ :organization ] . keys ) . to contain_exactly ( : SomeOrg, : global_organization)
187187 expect ( manifest [ :command ] [ :"SomeOrg::SomeDomain::SomeCommand" ] [ :description ] ) . to eq ( "just some command" )
188188 end
189189 end
@@ -1225,20 +1225,20 @@ def transform(result)
12251225 end
12261226
12271227 context "when rendering a processor" do
1228- let ( :path ) { "/help/email::Transformers::downcase " }
1228+ let ( :path ) { "/help/integer::Casters::string " }
12291229
12301230 it "gives some help" do
12311231 expect ( response . status ) . to be ( 200 )
1232- expect ( response . body ) . to match ( /email::Transformers::downcase / )
1232+ expect ( response . body ) . to match ( /integer::Casters::string / )
12331233 end
12341234 end
12351235
12361236 context "when rendering a processor class" do
1237- let ( :path ) { "/help/email::Transformers ::Downcase" }
1237+ let ( :path ) { "/help/string::SupportedTransformers ::Downcase" }
12381238
12391239 it "gives some help" do
12401240 expect ( response . status ) . to be ( 200 )
1241- expect ( response . body ) . to match ( /email::Transformers ::Downcase/ )
1241+ expect ( response . body ) . to match ( /string::SupportedTransformers ::Downcase/ )
12421242 end
12431243 end
12441244 end
@@ -1290,24 +1290,8 @@ def transform(result)
12901290 it "returns metadata about the types referenced in the commands" do
12911291 expect (
12921292 manifest [ :type ] . keys
1293- ) . to match_array (
1294- %i[
1295- User
1296- array
1297- associative_array
1298- atomic_duck
1299- attributes
1300- detached_entity
1301- duck
1302- duckture
1303- entity
1304- integer
1305- model
1306- number
1307- string
1308- symbol
1309- ]
1310- )
1293+ ) . to contain_exactly ( :User , :array , :associative_array , :atomic_duck , :attributes , :detached_entity , :duck ,
1294+ :duckture , :entity , :integer , :model , :number , :string , :symbol )
13111295 end
13121296
13131297 context "with manifest path" do
0 commit comments