Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: rafaelfranca/snipmate-snippets
base: master
...
head fork: carlosantoniodasilva/snipmate-snippets
compare: master
Checking mergeability… Don't worry, you can still create the pull request.
  • 8 commits
  • 21 files changed
  • 0 commit comments
  • 1 contributor
View
3  javascript/bef.snippet
@@ -0,0 +1,3 @@
+beforeEach(function() {
+ ${1}
+});
View
4 javascript/desc.snippet
@@ -1,3 +1,3 @@
-describe("${1}", function(){
- ${2}
+describe("${1}", function() {
+ ${2}
});
View
2  javascript/it.snippet
@@ -1,3 +1,3 @@
-it("${1}", function(){
+it("${1}", function() {
${2}
});
View
1  ruby-rails/ba.snippet
@@ -0,0 +1 @@
+before_action :${1:method}
View
4 ruby-rails/test.snippet
@@ -1,3 +1,3 @@
-test "${1:case_name}" do
- ${2}
+test '${1:case_name}' do
+ ${2}
end
View
2  ruby-rspec/aft.snippet
@@ -1,3 +1,3 @@
after(${1::each}) do
- ${2}
+ ${2}
end
View
2  ruby-rspec/bef.snippet
@@ -1,3 +1,3 @@
before(:each) do
- ${1}
+ ${1}
end
View
2  ruby-rspec/befa.snippet
@@ -1,3 +1,3 @@
before(:all) do
- ${1}
+ ${1}
end
View
4 ruby-rspec/con.snippet
@@ -1,3 +1,3 @@
-context "${1}" do
- ${2}
+context '${1}' do
+ ${2}
end
View
1  ruby-rspec/dbl.snippet
@@ -0,0 +1 @@
+double('${1:double_name}')${2:.as_null_object}
View
2  ruby-rspec/des.snippet
@@ -1,3 +1,3 @@
describe ${1:name} do
- ${2}
+ ${2}
end
View
4 ruby-rspec/it.snippet
@@ -1,3 +1,3 @@
-it "${1}" do
- ${2}
+it '${1}' do
+ ${2}
end
View
1  ruby-rspec/moc.snippet
@@ -1 +0,0 @@
-mock("${2:mock_name}"${3:, :null_object => true})
View
2  ruby-rspec/pshc.snippet
@@ -1 +1 @@
-page.should have_content "${1}"
+page.should have_content '${1}'
View
2  ruby-rspec/pshnc.snippet
@@ -1 +1 @@
-page.should have_no_content "${1}"
+page.should have_no_content '${1}'
View
1  ruby-rspec/saos.snippet
@@ -0,0 +1 @@
+save_and_open_screenshot
View
4 ruby-rspec/sce.snippet
@@ -1,3 +1,3 @@
-scenario "${1}" do
- ${2}
+scenario '${1}' do
+ ${2}
end
View
2  ruby-rspec/sef.snippet
@@ -1,3 +1,3 @@
-shared_examples_for "${1:do something}" do
+shared_examples_for '${1:do something}' do
${2}
end
View
2  ruby/as.snippet
@@ -1 +1 @@
-assert ${1:test}, "${2:failure_message}"
+assert ${1:test}, '${2:failure_message}'
View
1  ruby/deb.snippet
@@ -0,0 +1 @@
+require 'debugger'; debugger
View
2  ruby/req.snippet
@@ -1 +1 @@
-require "${1}"
+require '${1}'

No commit comments for this range

Something went wrong with that request. Please try again.