Sha256: 641249d9e885b513f041ef9d809e735ef63450c73050b8fc3c0b1a6eb94d670e
Contents?: true
Size: 952 Bytes
Versions: 1
Compression:
Stored size: 952 Bytes
Contents
require 'spec_helper_integration' require 'generators/doorkeeper/views_generator' describe Doorkeeper::Generators::ViewsGenerator do include GeneratorSpec::TestCase tests Doorkeeper::Generators::ViewsGenerator destination File.expand_path('../tmp/dummy', __FILE__) before :each do prepare_destination end it 'create all views' do run_generator assert_file 'app/views/doorkeeper/applications/_form.html.erb' assert_file 'app/views/doorkeeper/applications/edit.html.erb' assert_file 'app/views/doorkeeper/applications/index.html.erb' assert_file 'app/views/doorkeeper/applications/new.html.erb' assert_file 'app/views/doorkeeper/applications/show.html.erb' assert_file 'app/views/doorkeeper/authorizations/error.html.erb' assert_file 'app/views/doorkeeper/authorizations/new.html.erb' assert_file 'app/views/doorkeeper/authorized_applications/index.html.erb' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
couchkeeper-0.6.7 | spec/generators/views_generator_spec.rb |