This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Feature: Serve Image | |
The service should return placholder of requested size and category. | |
Default size and default category should be used when either of them | |
is not provided. | |
Scenario: Serve image without any parameter | |
Given user wants a placeholder | |
When he requests the placeholder | |
Then an image is returned |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mysql> select * from printings; | |
+-----------+-------------+------------+---------------------+---------------------+ | |
| id | magazine_id | edition_id | created_at | updated_at | | |
+-----------+-------------+------------+---------------------+---------------------+ | |
| 298486374 | NULL | NULL | 2011-07-08 17:28:06 | 2011-07-08 17:28:06 | | |
| 980190962 | NULL | NULL | 2011-07-08 17:28:06 | 2011-07-08 17:28:06 | | |
+-----------+-------------+------------+---------------------+---------------------+ | |
require 'test_helper' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= f.label t 'research' | |
= select("article", "research_id", Research.all.map {|research| [ research.name , research.id ] }, :prompt => t 'select') |