Sha256: f0cdb93fa75af4331e643f4ce34674f4b71478ddaac556f29a8a1fa9f4b55dfd
Contents?: true
Size: 664 Bytes
Versions: 6
Compression:
Stored size: 664 Bytes
Contents
require 'spec_env' describe "When getting the configured application pools" do before(:all) do configure do |cfg| @pools = cfg.get_application_pools end end it "at least one item should be returned" do @pools.size > 1 end end describe "When rolling back configuration changes" do before(:all) do configure false do |cfg| cfg.get_application_pools.add do |p| p.name = "foobar" end end configure false do |cfg| @non_existing_pool = cfg.get_application_pools.find { |p| p.name == "foobar" } end end it "the changes should not be applied" do @non_existing_pool.should be_nil end end
Version data entries
6 entries across 6 versions & 1 rubygems