test/integration/service_bus/rules_test.rb in azure-0.7.0 vs test/integration/service_bus/rules_test.rb in azure-0.7.1
- old
+ new
@@ -112,21 +112,21 @@
end
describe 'when multiple rules exist' do
let(:rule1) { "myRule1" }
let(:rule2) { "myRule2" }
- before {
+ before {
subject.create_rule topic, subscription, rule1
subject.create_rule topic, subscription, rule2
}
it "should be able to use $skip token" do
result = subject.list_rules topic, subscription
result2 = subject.list_rules topic, subscription, { :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" do
result = subject.list_rules topic, subscription
result.length.wont_equal 1
result2 = subject.list_rules topic, subscription, { :top => 1 }
\ No newline at end of file