Commit 39fb6f6704c657b956f4c9b79d043c7bfa51b5cc

Authored by Beatriz Rezener
1 parent 062fb840

Changing application layout and tests. Ref bootstrap removed. #124.

Signed-off-by:Beatriz Rezener <beatrizrezener@gmail.com>
Gemfile
... ... @@ -37,7 +37,7 @@ gem &#39;kalibro_gatekeeper_client&#39;, &#39;~&gt; 1.0.0&#39;
37 37 gem "pg", "~> 0.17.0"
38 38  
39 39 # Twitter Bootstrap for layout
40   -gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git', :ref => '3edf24d' #Fixed the ref so it does not update accidentaly and breaks
  40 +gem 'twitter-bootstrap-rails', :git => 'git://github.com/seyhunak/twitter-bootstrap-rails.git'
41 41  
42 42 # Chart generation
43 43 gem "chart-js-rails", "~> 0.0.6"
... ...
Gemfile.lock
1 1 GIT
2 2 remote: git://github.com/seyhunak/twitter-bootstrap-rails.git
3 3 revision: 3edf24de985d946f16a2781644289cfdc51ba95b
4   - ref: 3edf24d
5 4 specs:
6 5 twitter-bootstrap-rails (3.2.0)
7 6 actionpack (>= 3.1)
... ...
app/views/layouts/application.html.erb
... ... @@ -83,9 +83,8 @@
83 83 <div class="well sidebar-nav">
84 84 <ul class="list-group">
85 85 <% if user_signed_in? %>
86   - <li class="nav-header">User info</li>
87   - <li class="list-group-item">Hello, <strong><%= current_user.name %></strong></li>
88   - <li class="list-group-item"><%= link_to 'My projects', user_projects_path(current_user.id) %></li>
  86 + <li class="nav-header">Hello, <strong><%= current_user.name %></strong></li>
  87 + <li class="list-group-item"><%= link_to 'Your projects', user_projects_path(current_user.id) %></li>
89 88 <% end %>
90 89 <li class="nav-header">Tutorials</li>
91 90 <li class="list-group-item"><%= link_to 'Analysis', tutorials_path('analyzing') %></li>
... ...
features/homepage.feature
... ... @@ -18,4 +18,4 @@ Feature: Homepage
18 18 And I should see "Sign Out"
19 19 And I should see "Latest projects"
20 20 And I should see "Project"
21   - And I should see "My projects"
22 21 \ No newline at end of file
  22 + And I should see "Your projects"
23 23 \ No newline at end of file
... ...
features/project/create.feature
... ... @@ -42,6 +42,6 @@ Feature: Project Creation
42 42 Given I am a regular user
43 43 And I am signed in
44 44 And I am at the homepage
45   - And I click the My projects link
  45 + And I click the Your projects link
46 46 When I click the New Project link
47 47 Then I should see "New Project"
48 48 \ No newline at end of file
... ...
features/users/user_projects.feature
... ... @@ -9,6 +9,6 @@ Feature: User projects list
9 9 And I own a sample project
10 10 And I am signed in
11 11 And I am at the homepage
12   - When I click the My projects link
  12 + When I click the Your projects link
13 13 Then I should be in the User Projects page
14 14 And the sample project should be there
15 15 \ No newline at end of file
... ...