Source: A Plug-in by Igor Escobar on Github.
This file contains hidden or 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
git fetch --all | |
git reset --hard origin/master | |
git pull origin master |
This file contains hidden or 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
var diaSemana = [ 'Domingo', 'Segunda-Feira', 'Terca-Feira', 'Quarta-Feira', 'Quinta-Feira', 'Sexta-Feira', 'Sabado' ]; | |
var mesAno = [ 'Janeiro', 'Fevereiro', 'Marco', 'Abril', 'Maio', 'Junho', 'Julho', 'Agosto', 'Setembro', 'Outubro', 'Novembro' , 'Dezembro' ]; | |
var data = new Date(); | |
var hoje = diaSemana[data.getDay()] + ', ' + mesAno[data.getMonth()] + ' de ' + data.getFullYear(); | |
$("#dataPesquisa").attr("value", hoje); | |
$(".datepicker").pickadate({ | |
monthsFull: mesAno, | |
monthsShort: [ 'Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez' ], | |
weekdaysFull: diaSemana, | |
weekdaysShort: [ 'Dom', 'Seg', 'Ter', 'Qua', 'Qui', 'Sex', 'Sab' ], |
use must for positive expectations and wont for negative expectations.
- must_be | list.size.must_be :zero?
- must_be_close_to | subject.size.must_be_close_to 1,1
- must_be_empty | list.must_be_empty
- must_be_instance_of | list.must_be_instance_of Array
- must_be_kind_of | list.must_be_kind_of Enumerable