This file contains 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
require 'rails_helper' | |
require 'capybara' | |
feature "Creating Projects" do | |
before do | |
visit projects_path | |
click_link 'New Project' | |
end | |
scenario "creating a project" do |
This file contains 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
<h2><%= @banner.title %></h2> | |
<% if @banner.asset.present? %> | |
<h3>Attached File</h3> | |
<div class="asset"> | |
<p> | |
<%= cl_image_tag @banner.asset_url if @banner.asset? %> | |
</p> | |
</div> | |
<% end %> |
This file contains 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
import React, { Component } from 'react'; | |
export default class Login extends Component { | |
constructor (props) { | |
super(props); | |
console.log(this.props.redirectLogin); | |
this.state = { msg: this.props.msg }; | |
} | |
This file contains 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
FROM ruby:2.3.1 | |
RUN apt-get update -yqq \ | |
&& apt-get install -yqq --no-install-recommends \ | |
postgresql-client \ | |
nodejs \ | |
qt5-default \ | |
libqt5webkit5-dev \ | |
&& apt-get -q clean \ | |
&& rm -rf /var/lib/apt/lists |
OlderNewer