selector {
property: value;
}
- Each selector is on its own line.
| [Async_ExceptionOccurred] | |
| Arguments: | |
| Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60831.0&File=System.dll&Key=Async_ExceptionOccurred | |
| [HttpWebRequest_WebException_RemoteServer] | |
| Arguments: NotFound | |
| Debugging resource strings are unavailable. Often the key and arguments provide sufficient information to diagnose the problem. See http://go.microsoft.com/fwlink/?linkid=106663&Version=4.0.60831.0&File=System.Windows.dll&Key=HttpWebRequest_WebException_RemoteServer | |
| at System.ComponentModel.AsyncCompletedEventArgs.RaiseExceptionIfNecessary() | |
| at AdSmart360.AdTrak.Services.MediaCenterServiceReference.GetMediaDataCompletedEventArgs.get_Result() | |
| at AdSmart360.AdTrak.MediaCenter.ViewModel.MediaVisualViewModel.MediaClient_GetMediaDataCompleted(Object sender, GetMediaDataCompletedEventArgs e) |
| export EDITOR="mate -w" | |
| export PATH=~/bin:$PATH | |
| export PATH=/Applications/MAMP/Library/bin:$PATH | |
| export PATH=/usr/local/bin:$PATH | |
| export PATH=/usr/local/bin/node:$PATH | |
| export PATH=/usr/local/php5/bin/pear:$PATH | |
| export PATH=/opt/local/bin:/opt/local/sbin:/opt/local/lib/postgresql83/bin:$PATH | |
| export PATH=/opt/local/bin:/opt/local/sbin:/opt/local/lib/pg_config/bin:$PATH |
| # Directories | |
| alias ..='cd ..' | |
| alias cdd="cd -" | |
| # Git | |
| alias g='git status' | |
| alias ga='git add -A' | |
| alias gc='git commit -a -s' | |
| alias gcb='git checkout -b' # Check out a new branch | |
| alias hack='bash ~/hack.sh' # Hack on the branch |
| require 'spec_helper' | |
| feature 'Signing up' do | |
| scenario 'Successful sign up' do | |
| visit '/signup' | |
| fill_in "Name", :with => "Test User" | |
| fill_in "Username", :with => "testuser" | |
| fill_in "Email", :with => "[email protected]" | |
| fill_in "Password", :with => "password" | |
| click_button "Create Account" |
| require 'spec_helper' | |
| feature 'Signing in' do | |
| before do | |
| create(:user) | |
| visit '/signin' | |
| end | |
| scenario 'Successful sign in' do | |
| fill_in "Login", :with => "[email protected]" |
| <div id="controls"> | |
| <% if signed_in? %> | |
| <div class="dropdown"> | |
| <a href="#" data-toggle="dropdown" class="dropdown-toggle"><%= current_user.name %> <b class="caret"></b></a> | |
| <ul class="dropdown-menu pull-right" role="menu"> | |
| <li> | |
| <%= link_to("View Profile", user_path(current_user.username)) %> | |
| </li> | |
| <li> | |
| <%= link_to("Edit Profile", edit_user_path(current_user.username)) %> |
| require 'spec_helper' | |
| feature 'Reset password' do | |
| attr_accessor :current_email_address | |
| scenario 'Successful password reset' do | |
| user = create(:user) | |
| original_password = user.password | |
| visit '/signin' | |
| click_link "Forgot your password?" |
| %h2 Edit your profile | |
| = form_for @user, :html => { :class => "form-horizontal" } do |f| | |
| .control-group | |
| = f.label :first_name, :class => "control-label" | |
| .controls | |
| = f.text_field :first_name | |
| .control-group | |
| = f.label :last_name, :class => "control-label" |