Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/wycats/jquery-governance
Conflicts: public/stylesheets/application.css
- Loading branch information
Showing
9 changed files
with
101 additions
and
403 deletions.
There are no files selected for viewing
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
%li{ html_attrs_for_motion(motion) } | ||
=link_to %Q{"#{motion.title}"}, motion_events_url(motion) | ||
%span.meta | ||
by #{motion_creator_display_name(motion)} | ||
%p | ||
=truncate(motion.description) | ||
=link_to motion.title, motion_events_url(motion) | ||
%p.author | ||
by | ||
%strong #{motion_creator_display_name(motion)} | ||
%p.description= truncate(motion.description, :length => 200) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<% @motions.each do |motion| %> | ||
<%= render(:partial => 'motions/list_item', :locals => { :motion => motion }) %> | ||
<% end %> | ||
<%= link_to_more_motions(@motions) %> | ||
<% if link = link_to_more_motions(@motions) %> | ||
<li><%= link %></li> | ||
<% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
Feature: Member sign in validations | ||
As an active member | ||
I want see error messages if the signin fails | ||
So that I know what I've done wrong | ||
|
||
Background: | ||
Given there is an active member with email "TestMan42@example.com" and password "secret" | ||
And I am on the sign in page | ||
|
||
Scenario: I type incorrect credentials | ||
When I fill in "Email" with "TestMan41@example.com" | ||
And I fill in "Password" with "fail" | ||
And I press "Sign in" | ||
Then I should see "Invalid email or password." |
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
Oops, something went wrong.