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
| # https://github.com/blinks zsh theme | |
| function _prompt_char() { | |
| if $(git rev-parse --is-inside-work-tree >/dev/null 2>&1); then | |
| echo "%{%F{blue}%}±%{%f%k%b%}" | |
| else | |
| echo ' ' | |
| fi | |
| } |
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
| class Article < ActiveRecord::Base | |
| has_one :publication, :as => :publicationable | |
| accepts_nested_attributes_for :publication | |
| 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
| @test | |
| Feature: Viewing bulletins | |
| In order to view the content on this website | |
| As a visitor | |
| I want to view bulletins | |
| Background: | |
| Given A Refinery user exists | |
| Scenario: Listing all bulletins |
NewerOlder