[WIP]collect aws cloudformation templates and stacks at Amazon refreshing

I think I would prefer if this was structured a little bit differently, so that you can clearly see there are different contexts instead of just a bunch of it blocks with assertions. The way you have it kind of hides the fact that certain contexts rely on each other. Something like this:
```ruby
describe CloudTemplate do
  # Method name block should be 'describe', not 'context'.
  describe ".find_or_create_by_template" do
    context "when the template does not exist" do
      it "creates a new template" do
        # ...
      end
    end

    context "when the template exists" do
      before do
        CloudTemplate.create(:name => name, :template => "template text")
      end
      # I'm not sure which way I like better, because you could also do it like this:
      # let!(:existing_cloud_template) { CloudTemplate.create(:name => name, :template => "template text") }

      context "when there is a conflicting name" do
        let(:name) { "name" }

        context "when auto_rename is true" do
          it "renames the conflicting name" do
            # ...
          end
        end

        context "when auto_rename is false" do
          it "raises an error" do
            # ...
          end
        end
      end

      context "when there is not a conflicting name" do
        let(:name) { "another name" }

        it "finds the existing template" do
          # ...
        end
      end
    end
  end
end
```

Also please don't use a single letter variable, even in tests.