bigmouth 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/assets/javascripts/bigmouth/admin/dashboard.js +17 -0
- data/app/assets/javascripts/bigmouth/admin/data-confirm-modal.js +269 -0
- data/app/assets/javascripts/bigmouth/application.js +1 -0
- data/app/assets/stylesheets/bigmouth/admin/dashboard.css.scss +108 -0
- data/app/assets/stylesheets/bigmouth/custom.scss +32 -1
- data/app/controllers/bigmouth/admin/application_controller.rb +8 -0
- data/app/controllers/bigmouth/admin/articles_controller.rb +60 -0
- data/app/controllers/bigmouth/admin/images_controller.rb +60 -0
- data/app/controllers/bigmouth/articles_controller.rb +5 -53
- data/app/helpers/bigmouth/admin/application_helper.rb +35 -0
- data/app/helpers/bigmouth/application_helper.rb +24 -0
- data/app/models/bigmouth/article.rb +4 -1
- data/app/models/bigmouth/image.rb +9 -0
- data/app/views/bigmouth/{articles → admin/articles}/_form.html.slim +1 -1
- data/app/views/bigmouth/admin/articles/edit.html.slim +6 -0
- data/app/views/bigmouth/admin/articles/index.html.slim +29 -0
- data/app/views/bigmouth/admin/articles/new.html.slim +4 -0
- data/app/views/bigmouth/admin/articles/show.html.slim +17 -0
- data/app/views/bigmouth/admin/images/_form.html.slim +18 -0
- data/app/views/bigmouth/admin/images/edit.html.slim +6 -0
- data/app/views/bigmouth/admin/images/index.html.slim +28 -0
- data/app/views/bigmouth/admin/images/new.html.slim +4 -0
- data/app/views/bigmouth/admin/images/show.html.slim +17 -0
- data/app/views/bigmouth/articles/index.html.slim +17 -16
- data/app/views/bigmouth/articles/show.html.slim +10 -11
- data/app/views/layouts/bigmouth/admin/dashboard.html.slim +56 -0
- data/app/views/layouts/bigmouth/default.html.slim +8 -4
- data/config/routes.rb +7 -2
- data/db/migrate/20150126024751_add_user_id_to_bigmouth_articles.rb +5 -0
- data/db/migrate/20150201131400_create_bigmouth_images.rb +9 -0
- data/db/migrate/20150201134338_add_user_id_to_bigmouth_images.rb +5 -0
- data/db/migrate/20150204082807_add_image_file_to_images.rb +8 -0
- data/lib/bigmouth.rb +12 -14
- data/lib/bigmouth/config.rb +23 -0
- data/lib/bigmouth/version.rb +1 -1
- data/test/controllers/bigmouth/admin/articles_controller_test.rb +9 -0
- data/test/controllers/bigmouth/admin/files_controller_test.rb +9 -0
- data/test/controllers/bigmouth/articles_controller_test.rb +4 -42
- data/test/dummy/app/models/user.rb +2 -1
- data/test/dummy/app/views/layouts/application.html.erb +12 -11
- data/test/dummy/config/initializers/bigmouth.rb +16 -13
- data/test/dummy/db/schema.rb +13 -2
- data/test/features/bigmouth/admin/admin_area_test.rb +113 -0
- data/test/features/bigmouth/admin/admin_area_with_js_test.rb +60 -0
- data/test/features/bigmouth/admin/meat_is_murder.jpg +0 -0
- data/test/features/bigmouth/admin/strangeways_here_we_come.jpg +0 -0
- data/test/fixtures/bigmouth/articles.yml +26 -6
- data/test/fixtures/bigmouth/images.yml +10 -0
- data/test/fixtures/users.yml +4 -3
- data/test/helpers/bigmouth/application_helper_test.rb +54 -0
- data/test/helpers/bigmouth/articles_helper_test.rb +0 -0
- data/test/models/bigmouth/article_test.rb +14 -3
- data/test/models/bigmouth/file_test.rb +9 -0
- data/test/test_helper.rb +20 -0
- metadata +144 -708
- data/app/helpers/bigmouth/articles_helper.rb +0 -12
- data/app/views/bigmouth/articles/edit.html.slim +0 -6
- data/app/views/bigmouth/articles/new.html.slim +0 -4
- data/db/migrate/20150126024751_add_author_id_to_bigmouth_articles.rb +0 -5
- data/lib/#bigmouth.rb# +0 -31
- data/test/controllers/bigmouth/#articles_controller_test.rb# +0 -61
- data/test/dummy/app/views/layouts/#application.html.erb# +0 -22
- data/test/dummy/db/development.sqlite3 +0 -0
- data/test/dummy/db/test.sqlite3 +0 -0
- data/test/dummy/log/development.log +0 -36941
- data/test/dummy/log/test.log +0 -1063
- data/test/dummy/tmp/cache/assets/development/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/custom.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/custom.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_badges.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_close.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_code.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_glyphicons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_input-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_jumbotron.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_list-group.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_media.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_normalize.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_print.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-embed.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_wells.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_background-variant.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_border-radius.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_center-block.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_clearfix.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_gradients.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid-framework.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_hide-text.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_image.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_list-group.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-divider.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-vertical-align.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_opacity.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_progress-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_reset-filter.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_resize.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_responsive-visibility.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_size.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_tab-focus.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_table-row.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-emphasis.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-overflow.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_vendor-prefixes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap-sprockets.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0800f54ee19cf3cee10b956fa9786799 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0b3bc7828f4a9fe07afe8f989474a5ec +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0d950fff852c8cc3816ea54eeb5a1b2a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/0ec737c7804927b87a778f1b8fd956a4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13cd01d1efdd0e91fd52fafc1bf9565f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13d2a7feb53fc9b264c8f81d399ea58e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/146dac6de2f351f56eeb983e57282736 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/1bda73f85ee45cdc3618869a34b453c4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2006bd1910570bb544d0dc32d715b996 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/23cf365c3ba440f92a8f991efbcfa6a8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2580ae76161b34d0884be8806320ca61 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/26131461f8b9e7a897ba3f7269ddb6b4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2770d71695c9a6f0c2bc160ad37db730 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/29ca5e3268edb180578eaa08ddd9915c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2d665f9a2281c838d3d69f2b737902d3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/325360df43b85fca59b40b8762508af4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/32f6bca48ffb4460dfd8f12fc1ef85a1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/383ef9be6bc79cc5951399b3c3b46535 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/388376eb1d0b8a9ed9e4318ac247d7d4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3b6ff5c4b970461fc3a4be5ac12d0b3d +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3b7a25bfd614ce14333ba7ed03937a55 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3bc494fe8e4dc2c2b9781f7a811ee00f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/3c72c3313cf35da0f213400d6fec1541 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4050a4e5062ab95c9f32e9b6940821ea +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/42fb7cef7cfa43cdd2b5b64b5c20b889 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/43e5750d09bdf0e36a57cbf32acb099e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/451a8fbb54a23dd3a5547a57f94df7e4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/46b842cdfa1e5070d20314cbb332d59c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4b7ddd43b4359749c832f5b4b1bc7cf8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4bb54293ea4b6f08466a2557de5a2a11 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4be5d609ea74e7b38e483d579dedd8d7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4e025241a8d1e12557a4e2b5d3063d7e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/4f41a3468d8fd87e462d54dfca140680 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/501519c399e259df3bc49ca644322893 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/508872d04f76d8be3efaf0f82d8fb0b7 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/50a7922f106c3194f16edef90cb660c9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/510da110ae528e2d22533be39ff696c5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5379d1871319f899b50fdcbe28e5d018 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/53b12122a17e514d3adca5cdb3048285 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/54cdc3dee8cad9f90c8539aa32d1e4f2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/57551ea75456b809d737e62170040caf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/59de21355aa0fd0d461308733da4cd3b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5c0bcb86ff5cdf72a4a29841434f88dc +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5dae5894de8c275b1254aaf067195921 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5dbfb71999c0a18ab8d2cc39b1f71284 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/707ab35c5250018368f3a9a4df4da449 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/73cfbca7c1b756843290765631f4a785 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/75cd2272140031326dca921e73a933f9 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/76163a3e3c27325fb0ff4ed780b94fe8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/79b7d24c49b1d2ea59077302f8b3a18b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7a59f22f8067363e3395bc15aac4dbed +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7ab1c3857e4e7ea9e7174d62ca10a6e1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7cab2c7321621193037a91e348cf67e5 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7d5608952c1d5efe059cc860bce1cb35 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/7f9592572b36c306feb917ee3a49639b +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/80b31d46ab66182422df94cd9712b458 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/85d1b2c4394d4404cc670da0e251388e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/867ee69677cde04a7642174f04a7e034 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/87b209c0c9da28094a8d5581a21262c6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/87d3d8a0e65a412e3adc455bc4bf0419 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/89b4e37ba66874fc6765f790cdc1aae3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8a389a2323475a7053fc419c4103814f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8b806a0ae20adb61aba4b0e7c24c86d1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/8db1cfb543feba7dbf3b1ad076395681 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/981923089e4607a8bd7da1384b2712c3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9caabbfb306d294b869c0e5ef25ed6ad +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9d39f38ba45b0ec46cbbcf748d899172 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9ea84759be7ee597c81ea6b306983dd1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/9ff88e23342f6d1e65e3617390550c98 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a17257ce0ba57baae100bbc3ceac5dfb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a1dea2a2c7707388ed8ec70150c99735 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a6ca6a84d389f9b81abc9b055b5cab79 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/a79f32a7b19efba7b69efebbd1ac6425 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ab7a93c91e93451ef33741a925d02d08 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ac893c1e97c4fca776b0fa76929a71ae +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ace517e7e927c1ece160bd3024b1dc5c +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b3a5c599251f7cf1f3e73174b9646986 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b3e1ccf83e92a0235ec89cbc837925a6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b5f53e94b387e8f6c7cb791a9866d867 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b644258792ab07998445a3a13c5346b0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b710fe7f6a4f661200aa48112996586a +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b7ee934a0cfd8a77057075829e86b862 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/b9d280b317ea809834bd8cff91690afa +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bc384ffca623dd84dcc27426de8f538e +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bd25bf8269cb7fbc481ea93290e14619 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/bf4c6581e02e0626699a85cbf74479bd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c164999110702fe49d2672bf6c3f48c0 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c27a3e2bd1de5e03ad3501c17fd7ecf1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c2d8c0856a19fd683b5f4d7704382aa2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c31256c47d596d7ab5bec954b96e6e19 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c3a2774d3288ca20b74f9baf56656109 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c3ec335a67fd016e5f01916073c165b4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c57031591f8741c53c5c7431633997c4 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/c816c88aed3e2bbd9d5d2ff726b1c7c2 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cebc6db0bbb8120f430da3970b173d2f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d039180b508a0299d4ac3f7fbf9662cd +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d0771a5d56c6dd57590ad00cd2a287f1 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d15b1d9a1b02f711ec089d10fea24315 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d2038f3ae034aa5d2baa6f1b7359ee02 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d5862a08d88b337e70c13f403c3a0912 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/d9328ea75ef727a9049f27c87ff53e67 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dc04ff4958b01098f5923487afba1f60 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/de549dcf945ab5f71371242966074439 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/dfa904f001d086cda03ebfac7fde7550 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e08495f04cd097009667a60ec0bde5cb +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/e7d4caf1fd93f94e35c0d70b4a16b308 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ec44bf41dda440ffa0a442b36f3f682f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/ed95a40034d5142585894fe388b45552 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/edf7ee075b440ec3827ac0cdfde324b3 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/eee1420e123cd3e2ff3d3bd790d51cdf +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f0908aaef2c0165df00f19c66fa8ab50 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f4ea112f7250e02269448d556e4379d8 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f56253b5f374fff1a33fbbc9881c9124 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/f87083f064a636b4fda659b15d9adede +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fbfb440251f374b2d535d7aadda4019f +0 -0
- data/test/dummy/tmp/cache/assets/development/sprockets/fcac08ebaff1499d385ec5712e1a218c +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/application.css.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/365dfe376d173aa71edc333cb62d683802ac4ebb/custom.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_badges.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_breadcrumbs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_button-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_carousel.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_close.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_code.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_component-animations.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_dropdowns.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_glyphicons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_input-groups.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_jumbotron.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_list-group.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_media.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_mixins.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_modals.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navbar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_navs.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_normalize.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pager.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_popovers.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_print.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_progress-bars.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-embed.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_responsive-utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_scaffolding.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_thumbnails.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_tooltip.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_type.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_utilities.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_variables.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/4163f32cc458b0d128f15c1584bef7a5c65343ed/_wells.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_alerts.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_background-variant.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_border-radius.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_buttons.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_center-block.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_clearfix.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_forms.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_gradients.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid-framework.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_grid.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_hide-text.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_image.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_labels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_list-group.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-divider.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_nav-vertical-align.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_opacity.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_pagination.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_panels.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_progress-bar.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_reset-filter.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_resize.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_responsive-visibility.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_size.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_tab-focus.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_table-row.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-emphasis.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_text-overflow.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/561bf4f81fa042d65c4c1b5ded662f7efde3cb49/_vendor-prefixes.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap-sprockets.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sass/f4632670e0618904d6cdfaa05215347dcf2fcba2/_bootstrap.scssc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0b3bc7828f4a9fe07afe8f989474a5ec +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0d950fff852c8cc3816ea54eeb5a1b2a +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/0ec737c7804927b87a778f1b8fd956a4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13d2a7feb53fc9b264c8f81d399ea58e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/13fe41fee1fe35b49d145bcc06610705 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/146dac6de2f351f56eeb983e57282736 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/1bda73f85ee45cdc3618869a34b453c4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/23cf365c3ba440f92a8f991efbcfa6a8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2580ae76161b34d0884be8806320ca61 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/26131461f8b9e7a897ba3f7269ddb6b4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2770d71695c9a6f0c2bc160ad37db730 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/29ca5e3268edb180578eaa08ddd9915c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2d665f9a2281c838d3d69f2b737902d3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/2f5173deea6c795b8fdde723bb4b63af +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/325360df43b85fca59b40b8762508af4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/32f6bca48ffb4460dfd8f12fc1ef85a1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/357970feca3ac29060c1e3861e2c0953 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/371bf96e99717688ed7313a0c53f4212 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/3b6ff5c4b970461fc3a4be5ac12d0b3d +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/3b7a25bfd614ce14333ba7ed03937a55 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/3bc494fe8e4dc2c2b9781f7a811ee00f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4050a4e5062ab95c9f32e9b6940821ea +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/42fb7cef7cfa43cdd2b5b64b5c20b889 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/451a8fbb54a23dd3a5547a57f94df7e4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/46b842cdfa1e5070d20314cbb332d59c +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/4be5d609ea74e7b38e483d579dedd8d7 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/57551ea75456b809d737e62170040caf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5c0bcb86ff5cdf72a4a29841434f88dc +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5dae5894de8c275b1254aaf067195921 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/5f1a0d05e77ca8b9a1fc2a47e17a8174 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/6fc757c2c8329244ca95d6909865bbc2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/707ab35c5250018368f3a9a4df4da449 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/73cfbca7c1b756843290765631f4a785 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/76163a3e3c27325fb0ff4ed780b94fe8 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/867ee69677cde04a7642174f04a7e034 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/87b209c0c9da28094a8d5581a21262c6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/87d3d8a0e65a412e3adc455bc4bf0419 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/89b4e37ba66874fc6765f790cdc1aae3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8a389a2323475a7053fc419c4103814f +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/8db1cfb543feba7dbf3b1ad076395681 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9caabbfb306d294b869c0e5ef25ed6ad +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9d39f38ba45b0ec46cbbcf748d899172 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/9ff88e23342f6d1e65e3617390550c98 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a17257ce0ba57baae100bbc3ceac5dfb +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a1dea2a2c7707388ed8ec70150c99735 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/a6ca6a84d389f9b81abc9b055b5cab79 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/ac893c1e97c4fca776b0fa76929a71ae +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b3a5c599251f7cf1f3e73174b9646986 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b3e1ccf83e92a0235ec89cbc837925a6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b5f53e94b387e8f6c7cb791a9866d867 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b644258792ab07998445a3a13c5346b0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b7ee934a0cfd8a77057075829e86b862 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/b9d280b317ea809834bd8cff91690afa +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bc384ffca623dd84dcc27426de8f538e +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/bd25bf8269cb7fbc481ea93290e14619 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c164999110702fe49d2672bf6c3f48c0 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c27a3e2bd1de5e03ad3501c17fd7ecf1 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c2d8c0856a19fd683b5f4d7704382aa2 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c3ec335a67fd016e5f01916073c165b4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/c57031591f8741c53c5c7431633997c4 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/cffd775d018f68ce5dba1ee0d951a994 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d039180b508a0299d4ac3f7fbf9662cd +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d2038f3ae034aa5d2baa6f1b7359ee02 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d5862a08d88b337e70c13f403c3a0912 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/d771ace226fc8215a3572e0aa35bb0d6 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/dfa904f001d086cda03ebfac7fde7550 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/e7d4caf1fd93f94e35c0d70b4a16b308 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/edf7ee075b440ec3827ac0cdfde324b3 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/eee1420e123cd3e2ff3d3bd790d51cdf +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f0908aaef2c0165df00f19c66fa8ab50 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f56253b5f374fff1a33fbbc9881c9124 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/f7cbd26ba1d28d48de824f0e94586655 +0 -0
- data/test/dummy/tmp/cache/assets/test/sprockets/fcac08ebaff1499d385ec5712e1a218c +0 -0
- data/test/dummy/tmp/pids/server.pid +0 -1
@@ -1,18 +1,19 @@
|
|
1
|
-
|
2
|
-
= notice
|
3
|
-
h1
|
4
|
-
| Listing Articles
|
1
|
+
.articles
|
5
2
|
- @articles.each do |article|
|
6
|
-
h1.article-title
|
7
|
-
= link_to article.title, article
|
8
|
-
.posted-date
|
9
|
-
= article.created_at.strftime("%B %d, %Y")
|
10
3
|
.article
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
4
|
+
h1.article-title
|
5
|
+
= link_to article.title, article
|
6
|
+
p.lead.article-author
|
7
|
+
| by
|
8
|
+
= author article
|
9
|
+
hr
|
10
|
+
p.posted-date
|
11
|
+
span.glyphicon.glyphicon-time
|
12
|
+
| Posted on
|
13
|
+
= article.created_at.strftime(Bigmouth.config.datetime_format)
|
14
|
+
hr
|
15
|
+
.article-body
|
16
|
+
= summary(article)
|
17
|
+
.read-more
|
18
|
+
= link_to "Read More >>", article
|
19
|
+
hr
|
@@ -1,15 +1,14 @@
|
|
1
|
-
p#notice
|
2
|
-
= notice
|
3
1
|
h1.article-title
|
4
2
|
= @article.title
|
5
|
-
.
|
6
|
-
|
7
|
-
|
3
|
+
p.lead.article-author
|
4
|
+
| by
|
5
|
+
= author @article
|
6
|
+
hr
|
7
|
+
p.posted-date
|
8
|
+
span.glyphicon.glyphicon-time
|
9
|
+
| Posted on
|
10
|
+
= @article.created_at.strftime(Bigmouth.config.datetime_format)
|
11
|
+
hr
|
12
|
+
.article-body
|
8
13
|
= sanitize @article.text
|
9
|
-
p
|
10
|
-
strong
|
11
|
-
| Author:
|
12
|
-
= article_author @article
|
13
|
-
= link_to 'Edit', edit_article_path(@article)
|
14
|
-
| |
|
15
14
|
= link_to 'Back', articles_path
|
@@ -0,0 +1,56 @@
|
|
1
|
+
doctype html
|
2
|
+
html
|
3
|
+
head
|
4
|
+
meta charset="utf-8"
|
5
|
+
meta http-equiv="X-UA-Compatible" content="IE=edge"
|
6
|
+
meta name="viewport" content="width=device-width, initial-scale=1"
|
7
|
+
meta name="description" content=""
|
8
|
+
meta name="author" content=""
|
9
|
+
title
|
10
|
+
= "#{yield(:title)} | Bigmouth Admin"
|
11
|
+
= stylesheet_link_tag "bigmouth/admin/dashboard", media: "all", "data-turbolinks-track" => true
|
12
|
+
= javascript_include_tag "bigmouth/admin/dashboard", "data-turbolinks-track" => true
|
13
|
+
= csrf_meta_tags
|
14
|
+
body
|
15
|
+
nav.navbar.navbar-default.navbar-fixed-top role="navigation"
|
16
|
+
.container-fluid
|
17
|
+
.navbar-header
|
18
|
+
button.navbar-toggle.collapsed type="button" aria-controls="navbar" data-target="#navbar-fuck" data-toggle="collapse"
|
19
|
+
span.sr-only Toggle navigation
|
20
|
+
span.icon-bar
|
21
|
+
span.icon-bar
|
22
|
+
span.icon-bar
|
23
|
+
= link_to "Bigmouth Admin", admin_root_path, class: "navbar-brand"
|
24
|
+
#navbar-fuck.navbar-collapse.collapse
|
25
|
+
ul#navbar-list-menu.nav.navbar-nav
|
26
|
+
= sidebar_list_items()
|
27
|
+
ul.nav.navbar-nav.navbar-right
|
28
|
+
li.dropdown
|
29
|
+
a.dropdown-toggle href="#" data-toggle="dropdown" role="button" aria-expanded="false"
|
30
|
+
= current_user ? current_user[Bigmouth.config.username_key.to_sym] : "Guest"
|
31
|
+
span.caret
|
32
|
+
ul.dropdown-menu role="menu"
|
33
|
+
li
|
34
|
+
a href="#"
|
35
|
+
| Action
|
36
|
+
li
|
37
|
+
a href="#"
|
38
|
+
| Another Action
|
39
|
+
li
|
40
|
+
a href="#"
|
41
|
+
| Something else here
|
42
|
+
li.divider
|
43
|
+
li
|
44
|
+
a href="#"
|
45
|
+
= link_to "Sign out", Bigmouth.config.sign_out_uri[:uri], method: Bigmouth.config.sign_out_uri[:method]
|
46
|
+
.container-fluid
|
47
|
+
.row
|
48
|
+
.col-sm-3.col-md-2.sidebar
|
49
|
+
ul.nav.nav-sidebar
|
50
|
+
= sidebar_list_items()
|
51
|
+
.col-sm-9.col-sm-offset-3.col-md-10.col-md-offset-2.main
|
52
|
+
.flash
|
53
|
+
- flash.each do |message_type, message|
|
54
|
+
.alert class="#{alert_class_for(message_type)}"
|
55
|
+
= message
|
56
|
+
= yield
|
@@ -19,9 +19,13 @@ html
|
|
19
19
|
= link_to "Bigmouth Editor", "#", class: "navbar-brand"
|
20
20
|
- else
|
21
21
|
= link_to "Bigmouth", "#", class: "navbar-brand"
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
22
|
+
p.navbar-text.navbar-left
|
23
|
+
= link_to "Back to Articles", root_path, class: "navbar-link"
|
24
|
+
p.navbar-text.navbar-right
|
25
|
+
= "Logged in as: #{current_user ? current_user[Bigmouth.config.username_key.to_sym] : 'Guest'}"
|
26
26
|
.container
|
27
|
+
.flash
|
28
|
+
- flash.each do |message_type, message|
|
29
|
+
.alert class="#{alert_class_for(message_type)}"
|
30
|
+
= message
|
27
31
|
= yield
|
data/config/routes.rb
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Bigmouth::Engine.routes.draw do
|
2
|
+
get "admin" => redirect("admin/articles")
|
3
|
+
resources :articles, only: %i(index show), path: ""
|
2
4
|
root "articles#index"
|
3
5
|
|
4
|
-
|
5
|
-
|
6
|
+
namespace :admin do
|
7
|
+
resources :articles
|
8
|
+
resources :images
|
9
|
+
root "articles#index"
|
10
|
+
end
|
6
11
|
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
class AddImageFileToImages < ActiveRecord::Migration
|
2
|
+
def change
|
3
|
+
add_column :bigmouth_images, :image_file_id, :string
|
4
|
+
add_column :bigmouth_images, :image_file_size, :string
|
5
|
+
add_column :bigmouth_images, :image_file_filename, :string
|
6
|
+
add_column :bigmouth_images, :image_file_content_type, :string
|
7
|
+
end
|
8
|
+
end
|
data/lib/bigmouth.rb
CHANGED
@@ -5,29 +5,27 @@ require "bootstrap-sass"
|
|
5
5
|
require "tinymce-rails"
|
6
6
|
require "truncate_html"
|
7
7
|
require "jquery-rails"
|
8
|
+
require "refile/rails"
|
9
|
+
require "refile/image_processing"
|
8
10
|
|
9
|
-
|
10
|
-
mattr_accessor :author_class
|
11
|
-
mattr_accessor :layout
|
12
|
-
mattr_accessor :username_key
|
11
|
+
require "bigmouth/config"
|
13
12
|
|
13
|
+
module Bigmouth
|
14
14
|
class << self
|
15
|
-
def
|
16
|
-
|
15
|
+
def config
|
16
|
+
@config ||= Config.new
|
17
17
|
end
|
18
18
|
|
19
|
-
def
|
20
|
-
|
21
|
-
end
|
22
|
-
|
23
|
-
def username_key
|
24
|
-
@@username_key || "email"
|
19
|
+
def configure
|
20
|
+
yield config if block_given?
|
25
21
|
end
|
26
22
|
end
|
27
23
|
|
28
24
|
class Application < Rails::Application
|
29
25
|
# SanitizeHelper configuration
|
30
|
-
config.action_view.sanitized_allowed_tags = %w(h1 h2 h3 h4 h5 h6 p ul ol li a img table tr td em br strong)
|
31
|
-
config.action_view.sanitized_allowed_attributes = %w(id class href)
|
26
|
+
# config.action_view.sanitized_allowed_tags = %w(h1 h2 h3 h4 h5 h6 p ul ol li a img table tr td em br strong)
|
27
|
+
# config.action_view.sanitized_allowed_attributes = %w(id class href)
|
28
|
+
|
29
|
+
config.assets.precompile += %w( bigmouth/admin/*.css bigmouth/admin/*.js )
|
32
30
|
end
|
33
31
|
end
|
@@ -0,0 +1,23 @@
|
|
1
|
+
module Bigmouth
|
2
|
+
class Config
|
3
|
+
include ActiveSupport::Configurable
|
4
|
+
|
5
|
+
config_accessor :user_class
|
6
|
+
config_accessor :layout
|
7
|
+
config_accessor :username_key
|
8
|
+
config_accessor :summary_length
|
9
|
+
config_accessor :datetime_format
|
10
|
+
config_accessor :sign_in_uri
|
11
|
+
config_accessor :sign_out_uri
|
12
|
+
|
13
|
+
configure do |config|
|
14
|
+
config.user_class = "User"
|
15
|
+
config.layout = "bigmouth/default"
|
16
|
+
config.username_key = "email"
|
17
|
+
config.summary_length = 20
|
18
|
+
config.datetime_format = "%B %d, %Y at %l:%M %p"
|
19
|
+
config.sign_in_uri = { uri: "/sign_in", method: :get }
|
20
|
+
config.sign_out_uri = { uri: "/sign_out", method: :post }
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
data/lib/bigmouth/version.rb
CHANGED
@@ -4,8 +4,8 @@ module Bigmouth
|
|
4
4
|
class ArticlesControllerTest < ActionController::TestCase
|
5
5
|
setup do
|
6
6
|
@routes = Bigmouth::Engine.routes
|
7
|
-
@article = bigmouth_articles(:
|
8
|
-
@user = users(:
|
7
|
+
@article = bigmouth_articles(:bigmouth_Strikes_again)
|
8
|
+
@user = users(:morrissey)
|
9
9
|
end
|
10
10
|
|
11
11
|
test "should get index" do
|
@@ -15,47 +15,9 @@ module Bigmouth
|
|
15
15
|
assert_template "bigmouth/articles/index"
|
16
16
|
end
|
17
17
|
|
18
|
-
test "should
|
19
|
-
|
20
|
-
get :new
|
18
|
+
test "should show article" do
|
19
|
+
get :show, id: @article
|
21
20
|
assert_response :success
|
22
|
-
assert_template "bigmouth/articles/new"
|
23
21
|
end
|
24
|
-
|
25
|
-
test "should not get new without logging in" do
|
26
|
-
get :new
|
27
|
-
assert_redirected_to root_path
|
28
|
-
end
|
29
|
-
|
30
|
-
# test "should create article" do
|
31
|
-
# assert_difference('Article.count') do
|
32
|
-
# post :create, article: { text: @article.text, title: @article.title }
|
33
|
-
# end
|
34
|
-
|
35
|
-
# assert_redirected_to article_path(assigns(:article))
|
36
|
-
# end
|
37
|
-
|
38
|
-
# test "should show article" do
|
39
|
-
# get :show, id: @article
|
40
|
-
# assert_response :success
|
41
|
-
# end
|
42
|
-
|
43
|
-
# test "should get edit" do
|
44
|
-
# get :edit, id: @article
|
45
|
-
# assert_response :success
|
46
|
-
# end
|
47
|
-
|
48
|
-
# test "should update article" do
|
49
|
-
# patch :update, id: @article, article: { text: @article.text, title: @article.title }
|
50
|
-
# assert_redirected_to article_path(assigns(:article))
|
51
|
-
# end
|
52
|
-
|
53
|
-
# test "should destroy article" do
|
54
|
-
# assert_difference('Article.count', -1) do
|
55
|
-
# delete :destroy, id: @article
|
56
|
-
# end
|
57
|
-
|
58
|
-
# assert_redirected_to articles_path
|
59
|
-
# end
|
60
22
|
end
|
61
23
|
end
|
@@ -1,7 +1,8 @@
|
|
1
1
|
class User < ActiveRecord::Base
|
2
2
|
authenticates_with_sorcery!
|
3
3
|
|
4
|
-
has_many :articles, class_name: "Bigmouth::Article", foreign_key: "
|
4
|
+
has_many :articles, class_name: "Bigmouth::Article", foreign_key: "user_id"
|
5
|
+
has_many :files, class_name: "Bigmouth::File", foreign_key: "user_id"
|
5
6
|
|
6
7
|
validates :password, length: { minimum: 3 }
|
7
8
|
validates :password, confirmation: true
|
@@ -7,16 +7,17 @@
|
|
7
7
|
<%= csrf_meta_tags %>
|
8
8
|
</head>
|
9
9
|
<body>
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
10
|
+
<div>
|
11
|
+
<% if flash[:notice] %>
|
12
|
+
<p id="notice"><%= flash[:notice] %></p>
|
13
|
+
<% end %>
|
14
|
+
<% if flash[:alert] %>
|
15
|
+
<p id="alert"><%= flash[:alert] %></p>
|
16
|
+
<% end %>
|
17
|
+
</div>
|
18
|
+
<div>
|
19
|
+
Current User is: <%= current_user ? current_user[Bigmouth.config.username_key.to_sym] : "Guest" %>
|
20
|
+
</div>
|
21
|
+
<%= yield %>
|
21
22
|
</body>
|
22
23
|
</html>
|
@@ -1,13 +1,16 @@
|
|
1
|
-
|
2
|
-
#
|
3
|
-
|
4
|
-
#
|
5
|
-
|
6
|
-
#
|
7
|
-
|
8
|
-
#
|
9
|
-
|
10
|
-
#
|
11
|
-
|
12
|
-
#
|
13
|
-
|
1
|
+
Bigmouth.configure do |config|
|
2
|
+
# Set a class for user model (default: User)
|
3
|
+
config.user_class = "User"
|
4
|
+
# Set a field for username (default: email)
|
5
|
+
config.username_key = "email"
|
6
|
+
# Set a layout (default: bigmouth/default)
|
7
|
+
#config.layout = "application"
|
8
|
+
# Set summary length to truncate (default: 200)
|
9
|
+
config.summary_length = 100
|
10
|
+
# Set date and time format
|
11
|
+
config.datetime_format = "%B %d, %Y at %l:%M %p"
|
12
|
+
# Set uri and method to sign in
|
13
|
+
config.sign_in_uri = { uri: "/login", method: :get }
|
14
|
+
# Set uri and method to sign out
|
15
|
+
config.sign_out_uri = { uri: "/logout", method: :post }
|
16
|
+
end if defined?(Bigmouth)
|
data/test/dummy/db/schema.rb
CHANGED
@@ -11,14 +11,25 @@
|
|
11
11
|
#
|
12
12
|
# It's strongly recommended that you check this file into your version control system.
|
13
13
|
|
14
|
-
ActiveRecord::Schema.define(version:
|
14
|
+
ActiveRecord::Schema.define(version: 20150204082807) do
|
15
15
|
|
16
16
|
create_table "bigmouth_articles", force: :cascade do |t|
|
17
17
|
t.string "title"
|
18
18
|
t.text "text"
|
19
19
|
t.datetime "created_at", null: false
|
20
20
|
t.datetime "updated_at", null: false
|
21
|
-
t.integer "
|
21
|
+
t.integer "user_id"
|
22
|
+
end
|
23
|
+
|
24
|
+
create_table "bigmouth_images", force: :cascade do |t|
|
25
|
+
t.string "label"
|
26
|
+
t.datetime "created_at", null: false
|
27
|
+
t.datetime "updated_at", null: false
|
28
|
+
t.integer "user_id"
|
29
|
+
t.string "image_file_id"
|
30
|
+
t.string "image_file_size"
|
31
|
+
t.string "image_file_filename"
|
32
|
+
t.string "image_file_content_type"
|
22
33
|
end
|
23
34
|
|
24
35
|
create_table "users", force: :cascade do |t|
|
@@ -0,0 +1,113 @@
|
|
1
|
+
require "test_helper"
|
2
|
+
|
3
|
+
def sign_in
|
4
|
+
visit "/login"
|
5
|
+
fill_in "email", with: @user[Bigmouth.config.username_key.to_sym]
|
6
|
+
fill_in "password", with: "miserable-lie"
|
7
|
+
click_button "Login"
|
8
|
+
end
|
9
|
+
|
10
|
+
feature "Admin::AdminArea" do
|
11
|
+
before do
|
12
|
+
@article = bigmouth_articles(:bigmouth_Strikes_again)
|
13
|
+
@user = users(:morrissey)
|
14
|
+
@image = bigmouth_images(:the_queen_is_dead)
|
15
|
+
end
|
16
|
+
|
17
|
+
scenario "redirect to sign in page without logging in" do
|
18
|
+
visit "/blog/admin"
|
19
|
+
page.must_have_content "Login"
|
20
|
+
visit "/blog/admin/articles"
|
21
|
+
page.must_have_content "Login"
|
22
|
+
visit "/blog/admin/images"
|
23
|
+
page.must_have_content "Login"
|
24
|
+
end
|
25
|
+
|
26
|
+
scenario "display admin page when logging in" do
|
27
|
+
sign_in
|
28
|
+
visit "/blog/admin"
|
29
|
+
# save_and_open_page
|
30
|
+
page.must_have_content "Bigmouth Admin"
|
31
|
+
# Capybara.reset_sessions!
|
32
|
+
end
|
33
|
+
|
34
|
+
scenario "display articles page when logging in" do
|
35
|
+
sign_in
|
36
|
+
visit "/blog/admin/articles"
|
37
|
+
page.must_have_content "Articles"
|
38
|
+
end
|
39
|
+
|
40
|
+
scenario "correctly display article page" do
|
41
|
+
sign_in
|
42
|
+
visit "/blog/admin/articles/#{@article.id}"
|
43
|
+
page.must_have_content "Bigmouth Strikes Again"
|
44
|
+
end
|
45
|
+
|
46
|
+
scenario "correctly create new article" do
|
47
|
+
sign_in
|
48
|
+
visit "/blog/admin/articles/new"
|
49
|
+
page.must_have_content "New Article"
|
50
|
+
fill_in "article_title", with: "There Is A Light That Never Goes Out"
|
51
|
+
fill_in "article_text", with: <<EOS
|
52
|
+
Take me out tonight
|
53
|
+
Where there's music and there's people
|
54
|
+
And they're young and alive
|
55
|
+
Driving in your car
|
56
|
+
I never never want to go home
|
57
|
+
Because I haven't got one
|
58
|
+
Anymore
|
59
|
+
EOS
|
60
|
+
click_button "Submit"
|
61
|
+
page.must_have_content("by #{@user[Bigmouth.config.username_key.to_sym]}")
|
62
|
+
end
|
63
|
+
|
64
|
+
scenario "correctly edit article" do
|
65
|
+
sign_in
|
66
|
+
visit "/blog/admin/articles/#{@article.id}/edit"
|
67
|
+
page.must_have_content "Editing Article"
|
68
|
+
fill_in "article_title", with: "There Is A Light That Never Goes Out"
|
69
|
+
fill_in "article_text", with: <<EOS
|
70
|
+
Take me out tonight
|
71
|
+
Where there's music and there's people
|
72
|
+
And they're young and alive
|
73
|
+
Driving in your car
|
74
|
+
I never never want to go home
|
75
|
+
Because I haven't got one
|
76
|
+
Anymore
|
77
|
+
EOS
|
78
|
+
click_button "Submit"
|
79
|
+
page.must_have_content("There Is A Light That Never Goes Out")
|
80
|
+
end
|
81
|
+
|
82
|
+
scenario "display images page when logging in" do
|
83
|
+
sign_in
|
84
|
+
visit "/blog/admin/images"
|
85
|
+
page.must_have_content "Images"
|
86
|
+
end
|
87
|
+
|
88
|
+
scenario "correctly display image page" do
|
89
|
+
sign_in
|
90
|
+
visit "/blog/admin/images/#{@image.id}"
|
91
|
+
page.must_have_content "Image URL"
|
92
|
+
end
|
93
|
+
|
94
|
+
scenario "correctly create new image" do
|
95
|
+
sign_in
|
96
|
+
visit "/blog/admin/images/new"
|
97
|
+
page.must_have_content "New Image"
|
98
|
+
fill_in "image_label", with: "Strangeways, Here We Come"
|
99
|
+
attach_file "image_image_file", "#{Bigmouth::Engine.root}/test/features/bigmouth/admin/strangeways_here_we_come.jpg"
|
100
|
+
click_button "Submit"
|
101
|
+
page.must_have_content "Image URL"
|
102
|
+
end
|
103
|
+
|
104
|
+
scenario "correctly edit image" do
|
105
|
+
sign_in
|
106
|
+
visit "/blog/admin/images/#{@image.id}/edit"
|
107
|
+
page.must_have_content "Editing Image"
|
108
|
+
fill_in "image_label", with: "Meat Is Murder"
|
109
|
+
attach_file "image_image_file", "#{Bigmouth::Engine.root}/test/features/bigmouth/admin/meat_is_murder.jpg"
|
110
|
+
click_button "Submit"
|
111
|
+
page.must_have_content "Image URL"
|
112
|
+
end
|
113
|
+
end
|