Sha256: 33e534e62ab013f8715576deff044cd3ff8b3e6ac3b5f978cdaa2c5e7cb9dc3a
Contents?: true
Size: 429 Bytes
Versions: 3
Compression:
Stored size: 429 Bytes
Contents
require "spec_helper" describe "Updating Models", :type => :request do it "lets me update an existing layout's metadata" do needle = rand(36**36).to_s(36) put "/stylish/models/update/layouts/stylish-test-theme/standard-01", :tags => ["standard", "layouts", needle] expect(json["tags"]).to include(needle) expect(json["path"]).to be_present expect(Pathname(json["path"]).read).to include(needle) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
stylish-0.3.1 | spec/acceptance/model_updating_spec.rb |
stylish-0.3.0 | spec/acceptance/model_updating_spec.rb |
stylish-0.0.2 | spec/acceptance/model_updating_spec.rb |