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
| puts "Hello World!" |
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
| source 'https://rubygems.org' | |
| gem 'rails', '3.2.8' | |
| group :assets do | |
| gem 'sass-rails' | |
| gem 'less-rails' | |
| gem 'coffee-rails' | |
| gem 'uglifier' |
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
| #!/usr/bin/env python | |
| # Plot a graph of Data which is comming in on the fly | |
| # uses pylab | |
| # Author: Norbert Feurle | |
| # Date: 12.1.2012 | |
| # License: if you get any profit from this then please share it with me | |
| import pylab | |
| from pylab import * | |
| xAchse=pylab.arange(0,100,1) |
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
| imagemagick | |
| Depends: libbz2-1.0 | |
| Depends: libc6 | |
| Depends: libfontconfig1 | |
| Depends: libfreetype6 | |
| Depends: libglib2.0-0 | |
| Depends: libgomp1 | |
| Depends: libice6 | |
| Depends: libjpeg8 | |
| Depends: liblcms2-2 |
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
| GIT | |
| remote: git://github.com/cgunther/formtastic-bootstrap.git | |
| revision: 4e6a7f50153af805470d43a2bd2c9885a902e4a6 | |
| branch: bootstrap2-rails3-2-formtastic-2-1 | |
| specs: | |
| formtastic-bootstrap (1.1.2) | |
| formtastic | |
| rails (>= 3.1.0) | |
| GIT |
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
| Factory.define :item do |f| | |
| include ActionDispatch::TestProcess | |
| f.name "Macbook Pro 15" | |
| f.price_in_dollars 1500 | |
| f.photo fixture_file_upload('/files/avatar.jpg', 'image/jpg') | |
| end |
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
| # v1: <https://gist.github.com/3180439> | |
| # v2: <https://gist.github.com/3180446> | |
| @question_new | |
| Scenario: I should be able to new/create Question | |
| Given I am on the new question page as "author" with "author, osce_author" roles | |
| When I fill in the new question form with the "Question" data: | |
| | Id | Type | Value | | |
| | Title TR | textarea | Başlık | | |
| # | Description TR | textarea | Açıklama | | |
| # | Image TR | file | /tmp/test.jpg | |
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
| # v1: <https://gist.github.com/3180455> | |
| @question_new_form | |
| Scenario: I should be able to see New Question Form | |
| Given I am logged as "author" | |
| And I have "author, osce_author" roles | |
| When I visit the questions list page | |
| And I click link titled "New" in the "Page Header Actions" section | |
| Then I should see "New Question" named "Form" |
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
| # v2: <https://gist.github.com/3180446> | |
| @question_new | |
| Scenario: I should be able to new/create Question | |
| Given I am on the "New Question" form page as "author" with "author, osce_author" roles | |
| When I fill in the form with the "Question" data: | |
| | Id | Type | Value | | |
| | Title TR | textarea | Başlık | | |
| | Description TR | textarea | Açıklama | | |
| | Question Image TR | file | /tmp/test.jpg | | |
| | Answer TR | text | Yanıt | |
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
| # NOT: v2: <https://gist.github.com/3180446> | |
| # v1 | |
| @question_new | |
| Scenario: I should be able to new/create Question | |
| Given I am logged as "author" | |
| And I have "author, osce_author" roles | |
| When I visit the questions list page | |
| And I click link titled "New" in the "Page Header Actions" section | |
| And I fill the form with: |