-
-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated Readme, detailed install instructions. #72
Changes from all commits
c4b2aaa
1e17be3
14c8922
1e075c1
a3d24db
1295f8f
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
.idea | ||
.yardoc | ||
.DS_Store | ||
.svn | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
require 'spec_helper' | ||
|
||
describe PagesHelper do | ||
|
||
describe "language_switches" do | ||
before :each do | ||
helper.stub(:configuration) | ||
end | ||
|
||
it "should return links to all other languages" do | ||
helper.stub(:multi_language?).and_return(true) | ||
Page.create(:language_code => "en", :public => true) | ||
Page.create(:language_code => "de") | ||
ss | ||
helper.language_switches.should == "" | ||
end | ||
|
||
it "should return nil if there is only one language" do | ||
helper.stub(:multi_language?).and_return(nil) | ||
helper.language_switches.should be nil | ||
end | ||
end | ||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add
rake db:seed