test/integration/service_bus/relay_test.rb in azure-0.7.0 vs test/integration/service_bus/relay_test.rb in azure-0.7.1
- old
+ new
@@ -84,15 +84,15 @@
end
describe 'when there are multiple relay endpoints' do
let(:name1) { ServiceBusRelayNameHelper.name }
let(:name2) { ServiceBusRelayNameHelper.name }
- before {
+ before {
subject.create_relay name1, description
subject.create_relay name2, description_alternative
}
-
+
it "should be able to get a list of relays" do
result = subject.list_relays
result.must_be :kind_of?, Array
q_found = false
@@ -110,10 +110,10 @@
result = subject.list_relays
result2 = subject.list_relays({ :skip => 1 })
result2.length.must_equal result.length - 1
result2[0].id.must_equal result[1].id
end
-
+
it "should be able to use $top token with list_relays" do
result = subject.list_relays
result.length.wont_equal 1
result2 = subject.list_relays({ :top => 1 })
\ No newline at end of file